Custom GraphQL scalars
17 Dec 2020With the release of Hot Chocolate 11 comes a very slimmed down approach to building custom scalars in GraphQL.
With the release of Hot Chocolate 11 comes a very slimmed down approach to building custom scalars in GraphQL.
One of the first things we’ll typically want to do when building out any API whether its’ GraphQL or REST is to secure it against users who should not have access to it.
The Hot Chocolate GraphQL framework does an excellent job building a schema from your C# types by convention. An easy example would be to see a C# type such as:
This has been a hard post to write and probably a few years over due, but human nature being what it is has delayed it longer than it should have.