Skip to content

Commit

Permalink
fixup: flags changed++
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <[email protected]>
  • Loading branch information
toddbaert committed Oct 30, 2024
1 parent bb1da79 commit 075efb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/reference/specifications/providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Conflicting properties in the context will be overwritten by the values below.
### Changed Flags

When a new flag definition is parsed, the stored flags are compared with the newly parsed flags.
Flags which have been removed, added, or mutated (including their default variant, targeting rules, or metadata) have their keys added to the `flags changed` field of the associated `PROVIDER_CONFIGURATION_CHANGED` event.`
Flags which have been removed, added, or mutated (considering, at a minimum, their `default variant`, `targeting rules`, and `metadata`) have their keys added to the `flags changed` field of the associated `PROVIDER_CONFIGURATION_CHANGED` event.`

### Sync-Metadata Properties in the Evaluation Context

Expand All @@ -228,7 +228,7 @@ The provider metadata includes the top-level metadata properties in the [flag de

The in-process resolver mode can also use a file based [flag definition](../flag-definitions.md).
This does not connect to a flagd instance or gRPC sync implementation, and instead polls a flag definition from a file.
If the file has been modified (based on the file metadata) since the last poll, a change event with the [calculated changed flags](#changed-flags) field is emitted.
If the file has been modified since the last poll (based on the file metadata) and [flags have changed](#changed-flags), a `PROVIDER_CONFIGURATION_CHANGED` event with the appropriate `changed flags` field is emitted.

!!! note

Expand Down

0 comments on commit 075efb7

Please sign in to comment.