这是indexloc提供的服务,不要输入任何密码
Skip to content

fix(fdc): Handled errors #13433

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

Merged
merged 2 commits into from
Oct 2, 2024
Merged

fix(fdc): Handled errors #13433

merged 2 commits into from
Oct 2, 2024

Conversation

maneesht
Copy link
Contributor

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

@@ -70,6 +71,7 @@ mutation thing($title: Any! = "ABC") @auth(level: PUBLIC) {
mutation seedData @auth(level: PUBLIC) {
the_matrix: movie_insert(
data: {
id: "09d5f835656c467787347668bbb44522"
Copy link
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
26 of 29 checks passed
@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