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 error marshalling issues #235

Merged

Conversation

mikemrm
Copy link
Contributor

@mikemrm mikemrm commented Jun 14, 2024

Errors from AuthRelationshipResponse were being marshalled but due to the error interface could not be unmarshalled. This changes the type to be a new Errors type which can handle encoding and decoding errors without resulting in unmarshalling errors.

The errors returned implement the error interface however they cannot be directly compared due to the errors being dynamically generated.

Errors from AuthRelationshipResponse were being marshalled but due to the error interface could not be unmarshalled.
This changes the type to be a new Errors type which can handle encoding and decoding errors without resulting in unmarshalling errors.

The errors returned implement the error interface however they cannot be directly compared due to the errors being dynamically generated.

Signed-off-by: Mike Mason <mimason@equinix.com>
@mikemrm mikemrm enabled auto-merge June 14, 2024 19:33
@mikemrm mikemrm disabled auto-merge June 14, 2024 19:49
@mikemrm mikemrm added this pull request to the merge queue Jun 14, 2024
Merged via the queue into infratographer:main with commit 39def70 Jun 14, 2024
6 checks passed
@mikemrm mikemrm deleted the fix-auth-req-reply-error-marshalling branch June 14, 2024 19:50
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.

2 participants