You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generated Go types will lose omitempty on project after the schema change in security-insights#236 #80
ossf/security-insights#236 makes project required unless project-si-source is set, using a conditional project! in spec/schema.cue. cue exp gengotypes reads that as always required, so the generated Project field loses omitempty.
When the types here are regenerated from the new schema, child files would start getting a project key written out. Per the review on #236, the @go optional attributes don't change that, and splitting the rules into a separate definition does but would need parser changes. I haven't run the generator myself.
Opening this so it's tracked before the next regeneration, as suggested on #236.
Activity