Skip to content

Commit

Permalink
feat: add id field to graphql fragments (#919)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstaley committed Mar 27, 2023
1 parent ab830b8 commit 7a22a4b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .changeset/polite-lizards-play.md
@@ -0,0 +1,9 @@
---
'@hashicorp/react-alert-banner': patch
'@hashicorp/react-button': patch
'@hashicorp/react-image': patch
'@hashicorp/react-logo-grid': patch
'@hashicorp/react-section-header': patch
---

Add ID field to GraphQL query
1 change: 1 addition & 0 deletions packages/alert-banner/fragment.graphql
@@ -1,4 +1,5 @@
fragment alertBannerFields on AlertBannerRecord {
id
tag
theme
text
Expand Down
1 change: 1 addition & 0 deletions packages/button/fragment.graphql
@@ -1,4 +1,5 @@
fragment buttonFields on SbcButtonV2Record {
id
title
url
external
Expand Down
1 change: 1 addition & 0 deletions packages/image/fragment.graphql
@@ -1,4 +1,5 @@
fragment imageFields on FileFieldInterface {
id
url
alt
format
Expand Down
1 change: 1 addition & 0 deletions packages/logo-grid/fragment.graphql
@@ -1,4 +1,5 @@
fragment logoGridFields on SbcLogoGridRecord {
id
size
removeBorders
companies {
Expand Down
1 change: 1 addition & 0 deletions packages/section-header/fragment.graphql
@@ -1,4 +1,5 @@
fragment sectionHeaderFields on SbcSectionHeaderRecord {
id
headline
description(markdown: true)
useH1
Expand Down

1 comment on commit 7a22a4b

@vercel
Copy link

@vercel vercel bot commented on 7a22a4b Mar 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.