- Issue created by @whiz11
- 🇲🇺Mauritius whiz11
Here's a quick fix but this is based on the assumption that integers will always be spaced out in the fields' machine names.
- 🇨🇭Switzerland dulnan
This is indeed a problem. It will also result in problems when there is both a field "field_a_1" and "field_a1" on the same entity.
But as a fix for the resolver I will pass along the actual field name inside the GraphQL field description and extract it in the resolver. That way it only has to do the conversion from camel to snake when the original field name could not be extracted from the description.
As a nice side effect it should also help making it easier finding fields in the schema using the Drupal machine name. - Status changed to Fixed
10 months ago 9:47am 25 January 2024