You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When generating default values, strings should be sanitized and used exactly as they are in the input schema, resulting in the following code being generated instead:
The problem (current behaviour)
When graphQL schema includes String fields having default values with line breaks such as:
then the generated TypeScript code will include an invalid line:
resulting in the following compilation error:
Expected behaviour
When generating default values, strings should be sanitized and used exactly as they are in the input schema, resulting in the following code being generated instead:
The text was updated successfully, but these errors were encountered: