Skip to main content
Version: v3.x

Commenting on Metadata

Introduction

Hasura DDN provides a commenting feature that allows your API producers and consumers to start conversations directly on the API metadata. This feature enhances collaboration by closing the feedback loop and helps teams communicate more effectively about their API design and implementation.

Getting Access

This feature is currently in limited access and only available for Hasura Cloud projects. To get access, please fill out this form.

How to comment

You can add comments on various objects from your metadata.

  1. Navigate to any model page in your project via the Explorer tab.
  2. Hover over the field or section you want to comment on.
  3. Click on the comment icon that appears.
Hover over fields to add comments

Commenting areas

You can add comments to the following areas:

Explorer Tab

Supergraph Page

Hover over fields to add comments

Subgraph Page

Hover over fields to add comments

Models --> General

  • Description
  • Signature
  • GraphQL root fields
Comments on General

Models --> Fields & Relationships

  • Output fields
  • Arguments
  • Relationships
Comments on Fields and Relationships

Models --> Permissions

  • Role
  • Read
  • Create
  • Update
  • Delete
Comments on Permissions


GraphiQL Tab

Alt text


Insights Tab

Comments on Permissions


Builds Tab

Comments on Permissions

Notifications

To ensure effective collaboration, you can tag subgraph collaborators in your comments:

  1. Type @ in your comment.
  2. Select the collaborator you want to notify.

Tagged collaborators will receive an email with your comments and a notification on the notification hub on the console, keeping them informed of any discussions or questions.

The notification hub can be found in the top right corner of the console. On clicking the comments button, you will see all the comments where you are tagged in one place. The messages will be grouped based on the underlying commenting thread. You can click on a particular comment (deep linking) and go to the original thread on the console. You can also delete notifications from that menu.

Alt text



Invite collaborators

You can learn how to invite collaborators here.

Limitations

The feature is in early access and has known limitations, which are in our backlog. Let us know if you would like to prioritize any specific functionality.

  1. Notification Email on Resolving comments.
  2. Ability to auto notify subgraph admin and developers.
  3. History Tab for comments.
  4. Figma Style (Canvas) Commenting.
Loading...