sangria-graphql / sangria Goto Github PK
View Code? Open in Web Editor NEWScala GraphQL implementation
Home Page: https://sangria-graphql.github.io
License: Apache License 2.0
Scala GraphQL implementation
Home Page: https://sangria-graphql.github.io
License: Apache License 2.0
At the moment it is required to add message
itself, but it is not very secure to rely on it
Now it should be possible to secure fields using the context + error handling mechanism. But maybe there are way to simplify this.
Interesting discussions:
Originally idea appeared here:
Maybe something more generic. For example similar to filers, which allow to this before and after of the execution of particular field
Also create test for sangria-specific features, like defers and projections
Hi,
I'm working on a Ruby GraphQL implementation and I'm exploring options for supporting efficient database queries. I really like your Projection
approach and I've given it a try.
The problem I have is, what about Interfaces and Unions? In order to resolve the type, you need the object. But projection happens before getting the objects themselves.
I've been reading through your project but I must say Scala is a bit over my head :S Can you point me towards your solution for this issue, if you have one?
Thanks!
(don't forget tests)
This probably will require additional project, something like sangria-marshaling-api
. It then would be used by json integration libraries and sangria itself.
It will not be as helpful as in mutation operations, but at least it will affect field's subtree
Projection
Projection
now allows to customize the nameNoProjection
allows to remove field from projections listProjectior
allows to specify how deep it should look (the level arg)OptionType
should result in Option
arg valueA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.