Skip to content

[AT-82]: add new quiz_asa_results_message type#458

Merged
esezen merged 4 commits into
Constructor-io:masterfrom
dmitrycnstrc:AT-82/quizzes-asa-message
Jun 23, 2026
Merged

[AT-82]: add new quiz_asa_results_message type#458
esezen merged 4 commits into
Constructor-io:masterfrom
dmitrycnstrc:AT-82/quizzes-asa-message

Conversation

@dmitrycnstrc

@dmitrycnstrc dmitrycnstrc commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Added new quiz_asa_results_message type for quizzes

Copilot AI review requested due to automatic review settings June 3, 2026 14:01
@dmitrycnstrc dmitrycnstrc requested a review from a team as a code owner June 3, 2026 14:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@dmitrycnstrc dmitrycnstrc changed the title add new quiz_asa_results_message type [AT-82]: add new quiz_asa_results_message type Jun 5, 2026
Comment thread src/types/quizzes.d.ts Outdated
has_attribute: boolean;
is_matched: boolean;
}>;
quiz_asa_results_message?: Nullable<string>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need Nullable here? Would it ever be null?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated the quiz-service to make it optional instead. It's only included in the response when ASA returns at least one product result along with a message, so there's no scenario where it would be null. If there's no message, the field is simply omitted from the response

@dmitrycnstrc dmitrycnstrc requested a review from esezen June 23, 2026 10:17
@esezen esezen merged commit 99e2269 into Constructor-io:master Jun 23, 2026
8 of 11 checks passed
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.

3 participants