-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for Property Definitions #308
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #308 +/- ##
==========================================
+ Coverage 76.90% 77.21% +0.31%
==========================================
Files 50 51 +1
Lines 3338 3384 +46
==========================================
+ Hits 2567 2613 +46
+ Misses 566 563 -3
- Partials 205 208 +3 ☔ View full report in Codecov by Sentry. |
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.
Needs a few tweaks before its ready to ship
570217a
to
afea0f2
Compare
Co-authored-by: Kyle <[email protected]>
Co-authored-by: David Bloss <[email protected]>
Co-authored-by: David Bloss <[email protected]>
Co-authored-by: David Bloss <[email protected]>
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.
LGTM 🎉
…a-field-to-jsonstring make PropertyDefinition.Schema field a JSONString type, update tests
Aliases []string `graphql:"aliases" json:"aliases"` | ||
Id ID `graphql:"id" json:"id"` | ||
Name string `graphql:"name" json:"name"` | ||
Schema JSON `json:"schema" scalar:"true"` // Do not add graphql struct tag here |
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.
well you can add graphql
struct tags if you neeed - you actually just need scalar:"true"
because JSON
is a custom scalar type we wrote.
support for property definitions --- Co-authored-by: Rocktavious <[email protected]> Co-authored-by: Kyle <[email protected]> Co-authored-by: David Bloss <[email protected]>
Issues
https://github.com/OpsLevel/team-platform/issues/122
Relies on #317
Changelog
JSONString
changie
entryTophatting
Tests should pass.