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

Queryables: Use of $ref #12

Open
m-mohr opened this issue Mar 31, 2023 · 1 comment
Open

Queryables: Use of $ref #12

m-mohr opened this issue Mar 31, 2023 · 1 comment

Comments

@m-mohr
Copy link
Contributor

m-mohr commented Mar 31, 2023

In implementation I'm facing issues with the queryables and I'm wondering what the best practice should be: Exposing $ref's or derefernecing them?

The example in the README clearly uses $ref's, but in implementations (especially browser based) this leads to issues as a lot of requests may be invoked by this. So I'm wondering whether implementations should dereference (and cache) this. (I'd be in favor of this.)

Here's a related issue in MS PC: microsoft/planetary-computer-apis#153

@philvarner
Copy link
Contributor

Agree, in practice, the $refs should be dereferenced and a complete, standalone json schema should be returned.

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