Replies: 1 comment 4 replies
-
|
I can look at adding some decorator types to handle this, may as well not break people who're already using the existing. What issue have you actually had with the Credential Flags as is? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It seems like the general idea is to store the "raw" credential flags (i.e. a byte value) as of v0.11.0. However there's no practical example for how to store a credential -- just a generic "AddCredential" call. Given the json annotations, one might be tempted to take the Credential object and marshal it to JSON. However this will encode the flags "incorrectly", i.e. will not include the raw value.
Please consider making this easier. Ideas include custom marshal/unmarshal JSON handlers, an explicit serialize/deserialize for credential object, etc.
Beta Was this translation helpful? Give feedback.
All reactions