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

fix(SFINT-2502): Allow the use of result from the constructor #31

Merged
merged 2 commits into from
Aug 26, 2019
Merged

fix(SFINT-2502): Allow the use of result from the constructor #31

merged 2 commits into from
Aug 26, 2019

Conversation

louis-bompart
Copy link
Collaborator

@louis-bompart louis-bompart commented Aug 23, 2019

Allow and prioritize the use of result from the constructor
Add precondition in the constructor to ensure the presence of a result, resolved or provided.

I chose to throw if no result is provided because that means they're an issue with the customization (e.g. trying to use a result component outside of a result template)

Allow and prioritize the use of result from the constructor
Add precondition in the constructor to ensure the presence of a result, resolved or provided.
@louis-bompart louis-bompart merged commit b290a1c into coveo:master Aug 26, 2019
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.

4 participants