Thank you! This allowed me to extend the Mutation Conventions Error types so I can add additional fields with resolvers to the domain exceptions. A fully Graphable Error with dataloaders! This is great for front-end to get the data needed for display in error messages that are sometimes in related objects. Awesome!
Great video and content, I really like how you can mix the different "flavors" - find it curious that the one that received most "love" is the Annotation based ;) - I really like it the most too!
How does extended properties work with EntityFramework Projection? I tried to use this to create a "computed column" but kept getting nulls unless the relevant navigation properties are included in the select, which defeats the purpose of extending the object. BTW looks like AddExtendingTypesTypes has been renamed to AddCoreTypes
Type Extensions allow you to move the GraphQL specific code to a complete separate class. This way you can completely separate you business objects from the GraphQL specific stuff. You can also use the fluent configuration API for such things or write resolver classes in combination with schema-first. Its anther tool in your toolbox. There are many ways to build your graph.
Thank you! This allowed me to extend the Mutation Conventions Error types so I can add additional fields with resolvers to the domain exceptions. A fully Graphable Error with dataloaders! This is great for front-end to get the data needed for display in error messages that are sometimes in related objects. Awesome!
You make things really easy to understand. Love the way you explain it :)
Great video and content, I really like how you can mix the different "flavors" - find it curious that the one that received most "love" is the Annotation based ;) - I really like it the most too!
Great Video Michael. Thanks!
Glad you liked it!
Is it possible to register an extension conditionally, e.g. depending on environment?
is it possible to apply sort/filter using the extended fields where the value for the extended fields comes from different service
How does extended properties work with EntityFramework Projection? I tried to use this to create a "computed column" but kept getting nulls unless the relevant navigation properties are included in the select, which defeats the purpose of extending the object.
BTW looks like AddExtendingTypesTypes has been renamed to AddCoreTypes
what to do if extended types allows only 2048 records to parse?
I'm a bit confused because "Object Types" and "Extending Types" seem very similar in functionality.
Whatever happens to just using inheritance to extend?
Type Extensions allow you to move the GraphQL specific code to a complete separate class. This way you can completely separate you business objects from the GraphQL specific stuff.
You can also use the fluent configuration API for such things or write resolver classes in combination with schema-first.
Its anther tool in your toolbox. There are many ways to build your graph.
Ganz cool 🤩 Aber das mit der Node-Annotation verstehe ich nicht ganz :-(
Thank you Andreas 🚀
Is this name still valid : AddExtendingTypesTypes ?
This is a source generated method ... so it depends on your code.