-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module github.com/open-feature/schemas | ||
module github.com/open-feature/flagd-schemas | ||
|
||
go 1.18 | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,8 @@ package flagd_definitions | |
|
||
import _ "embed" | ||
|
||
//go:embed flagd-definitions.json | ||
var FlagdDefinitions string | ||
//go:embed flags.json | ||
var FlagSchema string | ||
|
||
//go:embed targeting.json | ||
var Targeting string | ||
var TargetingSchema string | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe 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. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"$schema": "../../flagd-definitions.json", | ||
"$schema": "../../flags.json", | ||
|
||
"flags": { | ||
"myBoolFlag": { | ||
|
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