-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
If an object is created programmatically (e.g. with a call to NewPolicyCertificate()
to create a Policy), the JSONField is not set accordingly. Then if a call to Raw()
is done, nothing is returned.
Same applies when a field of the object is changed.
Make the object read-only and cache the JSON in a variable, or make Raw()
to always derive the JSON at call time.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers