Home / Companies / Hasura / Blog / Post Details
Content Deep Dive

Naming conventions for GraphQL schema

Blog post from Hasura

Post Details
Company
Date Published
Author
Catalin Pit
Word Count
714
Company Posts That Month
12
Language
English
Hacker News Points
-
Post removed?
No
Summary

The "Naming Convention" feature in GraphQL schema allows users to customize the names of fields, types, and arguments. This is particularly useful when dealing with multiple databases within a Hasura application. There are two available naming conventions - hasura-default and graphql-default. By default, all Hasura applications use the hasura-default naming convention, which uses snake casing for names and does not change enum values. The graphql-default naming convention uses PascalCase for type names, camelCase for field names and arguments, and UPPERCASE for enum values. Users can also customize root fields and type names by adding prefixes or suffixes.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.