Skip to content
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

omit Groups from /Schemas if not configured #118

Closed
gsar opened this issue Apr 6, 2024 · 2 comments
Closed

omit Groups from /Schemas if not configured #118

gsar opened this issue Apr 6, 2024 · 2 comments

Comments

@gsar
Copy link
Contributor

gsar commented Apr 6, 2024

I noticed the /Schemas endpoint always returns Group even though we don't have groups defined in our set up. Allowing default_resources to be configurable / overridable (or even determining this automatically from the fact that there is no groups resource included via the resources mixin) is a good idea to allow auto-discovery.

@gsar gsar changed the title allow default_resources to be configurable omit Groups from /Schemas if not configured Apr 6, 2024
@pond
Copy link
Member

pond commented Jun 17, 2024

#133 will implement this, via a new call that lets you override defaults. I tried a few introspection approaches to do this automatically, but they were messy and unreliable. A simpler approach seemed better.

@pond
Copy link
Member

pond commented Jun 27, 2024

Published as v2.9.0 (Rails 7) and v1.10.0 (Rails 6).

@pond pond closed this as completed Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants