Skip to content

Commit a13ad2a

Browse files
authored
Merge pull request #597 from appwrite/fix-graphql-examples-dollar-sign
Make sure attributes with $ use _ instead in GraphQL examples
2 parents 4d35fb0 + 8bf59a1 commit a13ad2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/graphql/docs/example.md.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ mutation {
5858
{%~ for definition in spec.definitions %}
5959
{%~ if definition.name == method.responseModel %}
6060
{%~ for property in definition.properties | filter(p => p.required) %}
61-
{{ property.name | caseCamel }}
61+
{{ property.name | replace({'$': '_'}) }}
6262
{%~ endfor %}
6363
{%~ if definition.additionalProperties %}
6464
data

0 commit comments

Comments
 (0)