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

Clarify whether one could use instance and instance container together #31

Open
angelo-v opened this issue Mar 4, 2024 · 2 comments
Open

Comments

@angelo-v
Copy link

angelo-v commented Mar 4, 2024

The registration entries map a type to a location and MUST use one of two predicates:

solid:instance - [...]
solid:instanceContainer - [...]

Can it use both or is it XOR?

It should read either "at least one of" or "exactly one of" to clarify this.

@jeff-zucker
Copy link
Member

What would be the benefit of restricting it to one or the other? I can't think of one but I can see a case where some data was an instance and some a container. I can also see a case where different apps would have different entry-ways to the data - one using containers, another an index.

@angelo-v
Copy link
Author

I am fine with having both, but would like to clarify the spec on that regard to say "MUST use at least one of two predicates"

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