Skip to content

fix(fdc): Handled errors#13433

Merged
Lyokone merged 2 commits intomainfrom
mtewani/propagate-server-errors
Oct 2, 2024
Merged

fix(fdc): Handled errors#13433
Lyokone merged 2 commits intomainfrom
mtewani/propagate-server-errors

Conversation

@maneesht
Copy link
Copy Markdown
Contributor

Fixed issue where if the server responds with an error, then the Data Connect library wouldn't throw an error.

mutation seedData @auth(level: PUBLIC) {
the_matrix: movie_insert(
data: {
id: "09d5f835656c467787347668bbb44522"
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.

Changes to reproduce an error. If a user calls this more than once, the second time would throw an error.

@maneesht maneesht changed the title Handled errors fix(fdc): Handled errors Sep 30, 2024
@Lyokone Lyokone merged commit 973a02f into main Oct 2, 2024
@Lyokone Lyokone deleted the mtewani/propagate-server-errors branch October 2, 2024 06:52
@firebase firebase locked and limited conversation to collaborators Nov 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants