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

nonNullCollections flag isn't being respected for alias types #1095

Open
a-k-g opened this issue Sep 25, 2020 · 0 comments
Open

nonNullCollections flag isn't being respected for alias types #1095

a-k-g opened this issue Sep 25, 2020 · 0 comments

Comments

@a-k-g
Copy link

a-k-g commented Sep 25, 2020

What happened?

We have the following conjure type:

  AndSearchFilter:
    docs: |
      A SearchFilter used to combine multiple SearchFilters.
      A row satisfies this SearchFilter if and only if it satisfies all combined SearchFilters.
    alias: set<SearchFilter>

And we have enabled the nonNullCollections flag to enforce that the set cannot contain null entries. However, this is not being enforced.

What did you want to happen?

Constructing the AndSearchFilter with a set containing null should fail.

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

1 participant