-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(quantic): property validation added with dependent facets (#4697)
## [SFINT-5821](https://coveord.atlassian.net/browse/SFINT-5821) When an invalid value is passed to the dependsOn property when using dependent facets, we are now trigger an error to notify the user about the mis configuration: for example, when the following value is passed: ```javascript exampleInvalidDependency = { expectedValue: '2', }; ``` The user get this: <img width="1728" alt="Screenshot 2024-11-21 at 10 52 56 AM" src="https://github.com/user-attachments/assets/b1eabb73-c882-4f9b-902e-c5232753d689"> [SFINT-5821]: https://coveord.atlassian.net/browse/SFINT-5821?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
- Loading branch information
Showing
10 changed files
with
644 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.