flagd/samples
Cole Bailey f62bc721e8
feat!: allow custom seed when using targetingKey override for fractional op (#1266)
<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->

## This PR
<!-- add the description of the PR here -->

- no longer injects flagKey as seed for fractional op when user has
provided custom targeting
- updates schema to allow `cat` and other operations so that custom
targeting can be properly seeded

### Related Issues
<!-- add here the GitHub issue that this PR resolves if applicable -->

https://github.com/open-feature/flagd/issues/1264

### Notes
<!-- any additional notes for this PR -->

### Follow-up Tasks
<!-- anything that is related to this PR but not done here should be
noted under this section -->
<!-- if there is a need for a new issue, please link it here -->

### How to test
<!-- if applicable, add testing instructions under this section -->

```bash
# unit tests
make test

# gherkin tests
./bin/flagd start -f file:test-harness/flags/testing-flags.json -f file:test-harness/flags/custom-ops.json -f file:test-harness/flags/evaluator-refs.json -f file:test-harness/flags/zero-flags.json
make flagd-integration-test
```

---------

Signed-off-by: Cole Bailey <cole.bailey@deliveryhero.com>
Signed-off-by: Cole Bailey <cole.bailey.one@gmail.com>
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
Co-authored-by: Michael Beemer <beeme1mr@users.noreply.github.com>
Co-authored-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
2024-04-09 08:41:41 -07:00
..
example_flags.flagd.json feat!: allow custom seed when using targetingKey override for fractional op (#1266) 2024-04-09 08:41:41 -07:00
example_flags.flagd.yaml feat!: allow custom seed when using targetingKey override for fractional op (#1266) 2024-04-09 08:41:41 -07:00
example_flags.json feat!: allow custom seed when using targetingKey override for fractional op (#1266) 2024-04-09 08:41:41 -07:00
example_flags.yaml feat!: allow custom seed when using targetingKey override for fractional op (#1266) 2024-04-09 08:41:41 -07:00
example_flags_secondary.flagd.json chore: schema docs, add to all examples (#1181) 2024-02-05 15:21:27 -08:00
example_flags_secondary.json chore: schema docs, add to all examples (#1181) 2024-02-05 15:21:27 -08:00