-
Notifications
You must be signed in to change notification settings - Fork 2.8k
☎️ Hasura Community Call: Meeting Minutes
Marion Schleifer edited this page Jul 24, 2020
·
6 revisions
23rd July 2020 (recording link)
- Moderator: Marion
- Note Taker: Vishwa
- Demos: Phil, Aleksandra, Gavin, Marion, Vilva Athiban
Automatic query caching (recording)
- Hasura GraphQL Engine already does data caching in the form of query plans
- Now it's possible to add the @cached & @cached(ttl: {seconds}) directive in the UI
- Examples of cached data: public data with no session variables (latest variables), role based data (published articles)
- Coming soon: restricted data (simple session data and arbitrary session variables)
Distributed tracing (recording)
- Debugging tool for distributed systems made available in Hasura Cloud
- Traces collected in APM tools: remote schemas, remote joins, actions, mutations, auth services, scheduled triggers etc.
- Basic tracing will be made available in Hasura Cloud
- Distributed tracing with APM integrations will be rolled out gradually
Large datasets on the Hasura console (recording)
- Tracking tables & relationship on the Hasura console is now much faster
- Problem: huge catalog of queries that was slow for large schemas - this affected the performance
- Solution: splitting this information into two queries
- Result: 5x improvement
Metadata SDK release (recording)
- Automated type-checking and auto-complete in metadata YAML & JSON files
- Included documentation
Event update (recording)
- We'll have a webinar "GraphQL in Production with Hasura" on the 13th of August at 11am PST
- Register here
OSS contributions (recording)
- hql-tag is a Hasura specific wrapper over GraphQL tag
- Takes the AST from the GraphQL tag and customise queries based on our preferences without relying on the backend
- Makes the queries more readable and elegant
Register for the next community call here.
27th May 2020 (recording link)
- Moderator: Marion
- Note Taker: Vishwa
- Demos: Tanmai, Praveen, Tiru, Gavin, Marion, Avi Moondra
Upcoming v1.3.beta
release (recording)
-
v1.3.beta
will be out in a few days - Highlights: scheduled triggers, relay, remote joins
- Relay demo
- Authz testing
- We've introduced a bug bounty program
Scheduled triggers (recording)
- Cron Triggers: run periodically, configure declaratively (part of metadata)
- One-off Scheduled Events: Schedule through API calls
- Demo: scheduled triggers with an e-commerce schema
Remote joins (recording)
- Create relationships across the database and remote schemas
- Demo: explaining about remote joins
Hasura without the UI (recording)
- Typed SDKs: Intellisense, realtime feedback while writing metadata, QuickType converts different type of data formats
- Demo: convert metadata to YAML utility function
HasuraCon update (recording)
- 3 workshops
- Lots of talks
OSS contributions (recording)
- 30 PRs from community on TypeScript issue: woohoo!
- Server contributions for Haskell lovers!
Using actions for authentication in a game (Avi Moondra) (recording)
- Demo: Fish Bowl game
- Authentication requirements and how actions help to solve them
- Using GraphQL subscriptions for game configurations
29th April 2020 (recording link)
- Moderator: Marion
- Note Taker: Vishwa
- Demos: Tanmai, Rishi, KP, Tiru, Aleksandra, Gavin, Sean
Hasura Con'20 announcement (recording)
- Hasura will host its first user conference from 3rd to 10th of June
- Check out workshops and confirmed speakers on the event website
- We're looking for speakers. Submit a talk here
v1.2
release party (recording)
-
v1.2
is out 🎉 - Growth of contributors & Hasura team as one big family across many time zones
- One of the most popular features of this release is actions: integrating custom business logic easily with REST APIs
- A
v1.2
refactor will allow us to add new features faster
Actions update (recording)
- Actions now have query support: support for custom queries in actions
- Actions now allow Postgres scalars like timestamptz, geography, JSONB
- Improved debugging for actions: get metadata about error response
- Action relationships: connecting actions to rest of the graph through relationships
Migrations workflow v2 (recording)
- A new workflow has been introduced for Hasura migrations
- Schema migrations are now isolated from metadata
- There are no more YAML files, but SQL files
- SQL files are incrementally added
- Files are easier to review due to improved metadata tree
- Performance improvement for schema migrations: time for 1k migrations improved from 30 minutes to 16 seconds
Permissions & data validations (recording)
- Improved permissions: Check values with post-update check after the update mutation
- We have a new data validations page in docs
- Common data validation methods as of
v1.2
:
CMS style features in the Hasura console (recording)
- Bulk delete rows
- Persisting table state
- Accept query params for filters and order by
- Selector component for enum fields
- Selector components for foreign key relations
- GitHub issue with future console style features
Relay support (recording)
- Implementation challenge: using fragments, client-side magic of Relay
- Hasura & Relay: Hasura has powerful GraphQL queries making it hard to generate SQL queries from Relay
- Cosmetic additions: e.g. camelCase support
- We'll add Relay support with
v1.3
Community contributions: actions codegen (recording)
- You can build your own codegen for action handlers to get a boilerplate REST handler for the framework of choice
- Demo: GraphQL schema to Java type generator in a template
- GitHub repo with existing codegens
- We're looking for contributions on codegens! Refer to the GitHub issue
Community demo: AuthGuardian with Hasura by Sean Grove (recording)
- AuthGuardian has specific support for Hasura
- You can implement social media login with AuthGuardian
- There is a structured editor for setting default roles and declaring rules
- AuthGuardian can identify where to place the role in the JWT
Thank you so much for joining - see you next time! 👋