If you work with #GraphQL and are CURIOUS on what the recently open source released Domain Graph Service framework by @NetflixEng is ? I have attempted a really short summary of the same below 🧵👇
#Annotation-Based : The framework’s core revolves around the annotation-based programming model familiar to Spring Boot developers. Just start the Spring Boot application, the /graphql endpoint along with the query editor on /graphiql endpoint will be available.
#Java / #Kotlin : So you can say it is primarily ofadvantage for Java developers. Regardless of whether you use Java or Kotlin, the DGS framework provides an easy way to build GraphQL services in Spring Boot.
#Mutation / #Subscription : Using @DgsData you can create Query and Mutations data fetchers/resolvers. It also supports in Subscriptions by creating a websocket. We leverage @InputArgument to extract the input arguments from the data fetching environment.
#Security :The DGS Framework integrates with Spring Security using the well known @Secured annotation. Once Spring Security is set up however, you can apply @Secured to your data fetchers, very similarly to how you apply it to a REST Controller in Spring MVC.
#Testing : Another key feature is support for lightweight query tests. These tests allow you to execute queries without the need to work with the HTTP endpoint. The tests look and feel like plain JUnit tests.
#Federation : If you have multiple independent teams then they need robust integration and schema federation. Through @extend directive DGS framework provides effective way to split the ownership of a large monolithic GraphQL schema across microservices.
#Monitoring : By implementing the Instrumentation interface and annotating it with @Component, the framework is able to pick it up automatically. For example, it can output the execution time for each data fetcher, and the total query execution time, to the logs.
#CodeGeneration : Most important , if you want to avoid lot of this setting up stuff and focus on schema. The DGS Code Generation plugin generates code during your project’s build process based on your Domain Graph Service’s GraphQL schema file.
If you want to know the story on how @NetflixEng worked on building this Domain Graph Service and how they are using this internally, read more here netflixtechblog.com/how-netflix-sc…
I could only summarise due to nice article published here netflixtechblog.com/open-sourcing-…

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Tanmay Bangale

Tanmay Bangale Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!