Conversation
It could confuse individuals who miss the dropdown for SDK selection.
In case the developer refreshes the page or opens a new link, it is beneficial to remember his choice.
For those developers just wanting to see an example rather than interactively try it out.
❌ Deploy Preview for criipto-docs failed.
|
✅ Deploy Preview for criipto-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Not available in SSR scenarios so we should make sure they are nullable.
9ef4a85 to
453039f
Compare
|
Maybe because there are no explicit examples for these (in other langs), and then the docs do not explicitly select the version chosen on one of the other examples (or as set by the Skip link) ? |
|
Maybe we should always have 2 options in the dropdown: "Raw" GQL (unauthenticated), and then "Live GQL" ? |
@sgryt Good idea I think, will explore that approach. |
"Raw" GQL would also be a good fallback for all examples not matching the selected choice |
So it can later be reused
@sgryt Hmm, it used to, will take another look. |
Providing a better fallback if an example is not available in a specific language.
|
@sgryt Should work like that now |
|
@mickhansen it does seem like the "Sign acting as" and "Include signature information" (as part of the |
@haysch They have never had SDK examples. SDKs do not support I think it's out of scope of this PR in any case. |
haysch
left a comment
There was a problem hiding this comment.
Improvements LGTM.
The "Skip" option defaults to Raw GQL for all cases as expected, and the language selector works for all samples that have language options.
Haven't spotted other visual inconsistencies or issues.





No description provided.