[GraphQL Filters] Allow $property_list
to be renames
#6026
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there 👋🏼
Thanks for making API Platform awesome each day - we are using it to build our application, and it’s saving us tons of time!
We are using APIFilters (https://api-platform.com/docs/core/filters/) with GraphQL, and we noticed that for a
list
type one, thename
is generated automatically, and we can’t overwrite - at least, we couldn’t find a way, as it’s currently hardcoded in the core:https://github.com/api-platform/core/blob/d85ed0cfe/src/GraphQl/Type/FieldsBuilder.php#L455-L458
We tried using
name
and#name
in the array returned bygetDescription
, but no lucky.We can contribute a PR if the maintainers see value on this.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions