
Typescript function LEFT JOIN postgres LEFT JOIN mongodb; Supergraphs for teams at @HasuraHQ
Joined April 2023
- Tweets114
- Following209
- Followers76
- Likes1.2K
Akshaya Acharya retweeted
We raised $136M to kill Slack.
Introducing PromptQL: The first AI version of Slack.
Here’s how it works:
Akshaya Acharya retweeted
📢Announcing the 9th edition of GraphQL Bangalore meetup
🗓️ January 30, Tuesday 📷 6PM to 8PM IST
📍 The Terrace at @HasuraHQ
We have talks from @mediocreDevops and @_nullxone.
RSVP here - meetup.com/graphql-bangalore…
Akshaya Acharya retweeted
Replying to @AWSAmplify
Besides the fact of its popularity, did using the TypeScript compiler have any other benefits?
I've been thinking that it should be possible to encode many constraints in the type system. Does the system generate any types that describe the real current state of the system?
Looks incredible :) like a declarative mash up of Terraform and Migration tooling. And it builds forms?
Akshaya Acharya retweeted
👑Win for GraphQL: query richly connected data
👑Win for API gateway: federate your existing microservices
👍Hasura v3 does both. Rapidly add services to the API. Then, extend your supergraph with databases.
Here's an early preview: youtu.be/cUCIBDFeARE
Akshaya Acharya retweeted
if you’re confused about how large language models work this new animation from google deepmind should clear a lot of things up
Akshaya Acharya retweeted
❓❓❓
How are you composing APIs from different microservices in 2023?
Drop your favourite tool in the comments! 🙌
52%GraphQL federation
35%API gateway / Service bus
6%Service mesh
6%Event bus
31 votes • Final results Akshaya Acharya retweeted
Replying to @__xuorig__
Are there any frameworks that get OpenAPI tooling right?
What about Spring Boot that's statically typed?
What about something in TypeScript?
Can frameworks use types to
1. ensure response types match the OpenAPI spec
2. validate request types to match the spec?
Akshaya Acharya retweeted
Would love to hear more about why exposing database as graphql endpoint is bad! (I'm from Hasura).
I'm going to add some reasons myself, but I'm looking to understand what your specific reasons are.
// Performance
1. Unless your engineers are always writing hand optimized sql queries, there's always an impedance mismatch
2. The main deal with using any higher abstraction is the work it saves you i.e. works in most cases
3. There should always be an escape hatch to go down to hand optimized stuff anyway
4. Yes, graphql is different. Your graphql server should allow for things like timeouts, and query complexity based limits.
5. Hasura generates deterministic query plans
// Existing microservices
You can attach rpc to the graph with Hasura, though admittedly it's not that much fun. This is going to get way better in v3 though (declarative joins, serverless functions).
// API contracts
1. API contract should not change when underlying implementation changes
2. With any technology, you have to write the compatibility layer
3. Graphql has a really good versioning story
4. Graphql is actually really good from a data integration pov because the server can require contracts of the underlying implementations, which means you can swap them out (like any data bus approach).
// Authorisation
1. The concern is that it's too complex, but graphql model-level authz is actually cool
2. If you define authz at the table level, then you can write any arbitrary query and know that the graphql server enforces the permission rules
3. Which means you don't have to worry about locking down each api endpoint
Data permissions belong next to the data. A way neater model in my mind.
//
It seems that some of these things are just different, not necessarily worse. And other things get way better.
Please do let me know what you think.
Akshaya Acharya retweeted
Find out how NASA uses Hasura to scale multiple data domains for multiple use cases for mission critical applications. 🚀
With the power of GraphQL and Hasura, the sky is not the limit – it's just the beginning! 🌠💫
NASA Article: buff.ly/3ZKeHKZ
Akshaya Acharya retweeted
We are hosting a React meetup on Sep 16th.
Propose a talk if you like to speak at this meetup
meetup.com/reactjs-bangalore…
Akshaya Acharya retweeted
How Coinbase is scaling their app with Relay
"Relay is unique among GraphQL client libraries in how it allows an application to scale to more contributors while remaining malleable and performant."
blog.coinbase.com/rearchitec…
Akshaya Acharya retweeted
It still surprises me how Twitter embraces GraphQL / Relay (for RWeb) but keeping their Timeline model instead of adapting the Relay connection spec
Akshaya Acharya retweeted
💡 #RelayJs feature I appreciate - Relay is optimized for performance by default. It “forces” you to break down the data requirements of your UI in small, reusable parts, like React does with components. It'll then subscribe to changes of only the data each component asks for 1/x














