-
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
feat!: improve naming, fix module url #128
Conversation
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.
What's the impact of this change?
The public URL will be more sensible, and a 1-line breaking change will need to be absorbed in flagd (where the schema is loaded). |
|
||
//go:embed targeting.json | ||
var Targeting string | ||
var TargetingSchema string |
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.
We should track and change flagd references - https://github.com/open-feature/flagd/blob/main/core/pkg/evaluator/json.go#L407-L414
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.
Yes I am going to immediately absorb this in flagd when this is merged, since I want the better schema name.
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.
Left this comment but otherwise I think this is good change
93f5703
to
3ffb3aa
Compare
Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
``` |
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.
Now this file suggests reviewing the schemastore version, and updating the version hosted at flagd.dev
🤖 I have created a release *beep* *boop* --- <details><summary>json/json-schema: 0.2.0</summary> ## [0.2.0](json/json-schema-v0.1.3...json/json-schema-v0.2.0) (2024-01-18) ### ⚠ BREAKING CHANGES * improve naming, fix module url ([#128](#128)) ### 🐛 Bug Fixes * "if" json schema description ([#126](#126)) ([eee6a28](eee6a28)) ### ✨ New Features * improve naming, fix module url ([#128](#128)) ([0e6cbbd](0e6cbbd)) </details> --- 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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Absorbs new schema, and go module changes from: open-feature/flagd-schemas#128 Signed-off-by: Todd Baert <todd.baert@dynatrace.com>
flags.json
instead offlagd_definitions
$evalutors
they are optional and used inflags
.Fixes: #125