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 UUID query param binding #623

Merged
merged 2 commits into from Jun 9, 2022

Conversation

karl-dau
Copy link
Contributor

@karl-dau karl-dau commented Jun 9, 2022

Fix for #616.

Adds a case to check if the destination object is an array and then tries to unmarshal using TextUnmarshaler (which UUID implements). If that fails, fallthrough to default.

…coding.TextUnmarshaler, try to unmarshal, otherwise fallthrough to default case.
@leedsalex
Copy link

@deepmap-marcinr Can you please merge this, it is affecting our project as well

@deepmap-marcinr deepmap-marcinr merged commit 7da811e into deepmap:master Jun 9, 2022
@leedsalex
Copy link

leedsalex commented Jun 15, 2022

@deepmap-marcinr thank you for merging, can you also make a new release please

@deepmap-marcinr
Copy link
Contributor

I'm waiting on a couple of big changes to be finished before pushing another, it will be 1.12 as it adds a bunch of functionality. Can you for now, use a specific SHA in your go.mod?

@leedsalex
Copy link

I'm waiting on a couple of big changes to be finished before pushing another, it will be 1.12 as it adds a bunch of functionality. Can you for now, use a specific SHA in your go.mod?

Will do, thanks!

jakmoe pushed a commit to jakob-moeller-cloud/octi-sync-server that referenced this pull request Oct 1, 2022
@ryan-bever
Copy link

Hi any updates on 1.12? My project needs this fix as well.

@markschmid
Copy link

Just ran into this as well. Looking forward to the fix. Thanks.

adrianpk pushed a commit to foorester/oapi-codegen that referenced this pull request Jan 16, 2024
* Check case where destination object is an array. If obj implements encoding.TextUnmarshaler, try to unmarshal, otherwise fallthrough to default case.

* Revert white space deletion.
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.

None yet

5 participants