Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL INSERT exception when documentation contains a single quote #37

Open
cicoub13 opened this issue Dec 7, 2023 · 0 comments
Open

SQL INSERT exception when documentation contains a single quote #37

cicoub13 opened this issue Dec 7, 2023 · 0 comments

Comments

@cicoub13
Copy link
Member

cicoub13 commented Dec 7, 2023

For this entity

type CompetingChannelOffer {
    """
    Market
    If the requested SaleChannel's Market is B2C, then the only possible market value is B2C
    If the requested SaleChannel's Market is B2B, then the possible market values is are both B2C & B2B (B2C offers are also exposed to the B2B market except when the underlying seller is opted-out)
    """
    market: Market!

Call to https://api.int.manomano.tech/gql-schema/schema/diff creates the following issue during the INSERT in Database

DB error Error: INSERT INTO type_def_fields (name,description,is_nullable,is_array,is_array_nullable,is_deprecated,parent_type_id,children_type_id)
 						VALUES ('offers','competing offers',false,true,false,false,10495,10496),('market','Market
If the requested SaleChannel\'s Market is B2C, then the only possible market value is B2C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant