ncrypthic / doctrine-graphql

Doctrine ORM to GraphQL bridge
MIT License
2 stars 1 forks source link

Adding the Alias Manager. Could be useful in the future. #3

Closed nuncanada closed 5 years ago

nuncanada commented 5 years ago

Adding a simple working Alias Manager for Doctrine queries. It assumes that CamelCase is being used to create more intuitive aliases.

nuncanada commented 5 years ago

Seems like pull requests change with changes to the branch. Here there should be 2 Pull Request, one for adding the AliasManager code, the other that changes the registerObjects code to ignore fields that it isn't able to translate the type to GraphqlType, it was giving an error with blob fields.

nuncanada commented 5 years ago

The problem is described here: https://github.com/ncrypthic/doctrine-graphql/issues/5

ncrypthic commented 5 years ago

Thank you for this @nuncanada !