Skip to content

graph: Remove debug prefix from Timestamp value parse errors#6494

Open
cuiweixie wants to merge 1 commit intographprotocol:masterfrom
cuiweixie:graph/fix-timestamp-parse-error-message
Open

graph: Remove debug prefix from Timestamp value parse errors#6494
cuiweixie wants to merge 1 commit intographprotocol:masterfrom
cuiweixie:graph/fix-timestamp-parse-error-message

Conversation

@cuiweixie
Copy link
Copy Markdown

Summary

Removes an accidental "xxx" debug prefix from the TIMESTAMP_SCALAR branch of Value::from_graphql_value, so QueryExecutionError::ValueParseError reports the invalid timestamp string directly (consistent with other scalars).

Testing

Please run just lint, just check --release, and relevant unit tests locally before merge.

The TIMESTAMP_SCALAR branch accidentally formatted parse failures as "xxx{value}". Report the invalid input string directly, consistent with other ValueParseError paths.
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.

1 participant