I'm migrating some of our Rest API queries to GraphQL and found a bug. If you add a field with any uppercase character to a slice, it won't show up on your GraphQL queries.
How to repro:
- Create a slice with slice machine
- Add a text field name "test" and another one name "Testfield"
- Try to query for "Testfield" on GraphQL and fail.
Here's an example:
I've added a
Testfield field to my slice.
I can see it on the dashboard.
But it won't even show up in GraphiQL docs for this slice in particular.
I'm not sure if the bug is with GraphQL queries or if the slice-machine should even allow uppercase characters on field keys