-
Notifications
You must be signed in to change notification settings - Fork 24
fix(db): invalid uuid error message #633
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
Conversation
jakedoublev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nice cleanup, but it looks like the same error is returned from this wrapper function, db.ErrUUIDInvalid, which reads value not a valid UUID? In that case, it seems like it will still not be clear to the requester that the member id was invalid and not the value id as the original opener of the issue found.
|
Server responses are wrapped again with the |
🤖 I have created a release *beep* *boop* --- ## [0.2.0](service/v0.1.0...service/v0.2.0) (2024-04-26) ### Features * **policy:** move key access server registry under policy ([#655](#655)) ([7b63394](7b63394)) * **provisioning:** Keycloak provisioning from custom config ([#573](#573)) ([f9e9d72](f9e9d72)) * **sdk:** make enforcement of DPoP optional ([#617](#617)) ([028064c](028064c)) ### Bug Fixes * **core:** remove unused db argument ([#653](#653)) ([cfbd168](cfbd168)) * **db:** invalid uuid error message ([#633](#633)) ([c8f61aa](c8f61aa)) * **sdk:** this (`enforceDPoP`) flag needs to be flipped ([#649](#649)) ([dd65db1](dd65db1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com> Co-authored-by: jakedoublev <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [0.2.0](opentdf/platform@service/v0.1.0...service/v0.2.0) (2024-04-26) ### Features * **policy:** move key access server registry under policy ([#655](opentdf/platform#655)) ([7b63394](opentdf/platform@7b63394)) * **provisioning:** Keycloak provisioning from custom config ([#573](opentdf/platform#573)) ([f9e9d72](opentdf/platform@f9e9d72)) * **sdk:** make enforcement of DPoP optional ([#617](opentdf/platform#617)) ([028064c](opentdf/platform@028064c)) ### Bug Fixes * **core:** remove unused db argument ([#653](opentdf/platform#653)) ([cfbd168](opentdf/platform@cfbd168)) * **db:** invalid uuid error message ([#633](opentdf/platform#633)) ([c8f61aa](opentdf/platform@c8f61aa)) * **sdk:** this (`enforceDPoP`) flag needs to be flipped ([#649](opentdf/platform#649)) ([dd65db1](opentdf/platform@dd65db1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com> Co-authored-by: jakedoublev <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [0.2.0](opentdf/platform@service/v0.1.0...service/v0.2.0) (2024-04-26) ### Features * **policy:** move key access server registry under policy ([#655](opentdf/platform#655)) ([7b63394](opentdf/platform@7b63394)) * **provisioning:** Keycloak provisioning from custom config ([#573](opentdf/platform#573)) ([f9e9d72](opentdf/platform@f9e9d72)) * **sdk:** make enforcement of DPoP optional ([#617](opentdf/platform#617)) ([028064c](opentdf/platform@028064c)) ### Bug Fixes * **core:** remove unused db argument ([#653](opentdf/platform#653)) ([cfbd168](opentdf/platform@cfbd168)) * **db:** invalid uuid error message ([#633](opentdf/platform#633)) ([c8f61aa](opentdf/platform@c8f61aa)) * **sdk:** this (`enforceDPoP`) flag needs to be flipped ([#649](opentdf/platform#649)) ([dd65db1](opentdf/platform@dd65db1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com> Co-authored-by: jakedoublev <[email protected]>
No description provided.