Skip to content

Commit

Permalink
Merge pull request #597 from appwrite/fix-graphql-examples-dollar-sign
Browse files Browse the repository at this point in the history
Make sure attributes with $ use _ instead in GraphQL examples
  • Loading branch information
eldadfux authored Dec 27, 2022
2 parents 4d35fb0 + 8bf59a1 commit a13ad2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/graphql/docs/example.md.twig
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ mutation {
{%~ for definition in spec.definitions %}
{%~ if definition.name == method.responseModel %}
{%~ for property in definition.properties | filter(p => p.required) %}
{{ property.name | caseCamel }}
{{ property.name | replace({'$': '_'}) }}
{%~ endfor %}
{%~ if definition.additionalProperties %}
data
Expand Down

0 comments on commit a13ad2a

Please sign in to comment.