-
Notifications
You must be signed in to change notification settings - Fork 8
feat/AB#80252_Allow-frontend-to-reload-when-admin-updates/create-a-form #2184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: beta
Are you sure you want to change the base?
Changes from 3 commits
501ccaf
4fe40ad
937928b
29d8edc
7edc7f4
27c8411
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,121 @@ export const GET_SHORT_FORM_BY_ID = gql` | |
} | ||
} | ||
`; | ||
|
||
/** Graphql request for getting query types */ | ||
export const GET_QUERY_TYPES = gql` | ||
|
||
query GetQueryTypes { | ||
__schema { | ||
types { | ||
name | ||
kind | ||
fields { | ||
name | ||
args { | ||
name | ||
type { | ||
name | ||
kind | ||
inputFields { | ||
name | ||
type { | ||
name | ||
kind | ||
} | ||
} | ||
} | ||
} | ||
type { | ||
name | ||
kind | ||
fields { | ||
name | ||
args { | ||
name | ||
type { | ||
name | ||
kind | ||
inputFields { | ||
name | ||
type { | ||
name | ||
kind | ||
} | ||
} | ||
} | ||
} | ||
type { | ||
name | ||
kind | ||
ofType { | ||
name | ||
fields { | ||
name | ||
type { | ||
name | ||
kind | ||
ofType { | ||
name | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
ofType { | ||
name | ||
fields { | ||
name | ||
type { | ||
name | ||
kind | ||
ofType { | ||
name | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
queryType { | ||
name | ||
kind | ||
fields { | ||
name | ||
args { | ||
name | ||
type { | ||
name | ||
kind | ||
inputFields { | ||
name | ||
type { | ||
name | ||
kind | ||
} | ||
} | ||
} | ||
} | ||
type { | ||
name | ||
kind | ||
ofType { | ||
name | ||
fields { | ||
name | ||
type { | ||
name | ||
kind | ||
ofType { | ||
name | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GuilhermeGabriel
that won't work
you need to wait for the server to be ready again to do that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I tried a new approach!