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

Remove circular reference in type #483

Merged
merged 1 commit into from
Jun 30, 2020
Merged

Remove circular reference in type #483

merged 1 commit into from
Jun 30, 2020

Conversation

bidoubiwa
Copy link
Contributor

fixes: #482

Because facetFilter only has a max deepness of 2 the following is still possible with this new type:

Valid:

facetFilters: ['genre:thriller', [['genre:comedy'], 'genre:romance']],

Not valid:

facetFilters: ['genre:thriller', [[['genre:comedy'], 'genre:romance']]],

@bidoubiwa bidoubiwa merged commit e13bc46 into master Jun 30, 2020
@bidoubiwa bidoubiwa deleted the fixes_circular_type branch June 30, 2020 09:41
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

Successfully merging this pull request may close these issues.

Type alias 'FacetFilter' circularly references itself.
1 participant