forked from redwoodjs/redwood
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TS + Docs] Include potential gql input variables in ListCell's Loadi…
…ng and Success component typing & improve TS docs (redwoodjs#11773) Although list cells in the simpler examples don't have input variables, they *will* very well have them in more advanced apps (i.e. only selecting the items that belong to a certain user or given other constraints), so it good to have these input vars available for autocompletion out of the box. - Adds to redwoodjs#5343 (updating all docs to reflect QUERY annotation with `TypedDocumentNode`) - adds to in redwoodjs#11737, as i realized these now have to be passed in order for the types to still work. - Updated documentation for new generated …QueryVariables generic on Failure and Success components - docs: fixed some tsx highlighting blocks - docs: fixed import order to reflect Eslint rules since RW 2 --------- Co-authored-by: Tobbe Lundberg <[email protected]>
- Loading branch information
Showing
13 changed files
with
548 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- [TS + Docs] Include potential gql input variables in ListCell's Loading and Success component typing & improve TS docs (#11773) by @Philzen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.