-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update the client to make use of schema models for the users API #16608
base: dev
Are you sure you want to change the base?
Conversation
The errors you're seeing there are very nice, and I think highlight a real problem when the current user is anonymous. You should be able to narrow the type by checking for properties that are only present for non-anonymous users. |
Love this - I would say dropping |
Fetcher has a rethrowSimple middleware, galaxy/client/src/schema/fetcher.ts Line 9 in d15b2fe
|
9ef753d
to
c097c98
Compare
cc2aa0b
to
29938fc
Compare
b468708
to
2f97458
Compare
This is an extension of #16341.
The goal is to update the client so that it makes use of the newly created schema models from the referenced pull request.
How to test the changes?
(Select all options that apply)
License