data-hub
data-hub copied to clipboard
[Improvement]: Support GraphQL alias
Improvement description
Right now you can add an alias for a field with the alias operator, see: https://github.com/pimcore/data-hub/issues/568
But there is also a way to add an alias directly via graphql:
{
getFoo(id: 1199) {
numberOfDoors: doors #alias
}
}
Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.