Skip to content

Add missing FeatureHolder methods to FML spec #788

Description

@jaredlockhart

The FML specification (docs/technical-reference/fml/fml-spec.mdx) only documents value() and recordExposure() from the FeatureHolder API. Several methods available in the source code are undocumented:

Missing methods:

  • recordExperimentExposure(slug) — exposure recording for co-enrolling features
  • recordMalformedConfiguration(partId) — report invalid experiment configurations as Glean telemetry
  • toJSONObject() — get raw JSON representation of feature configuration
  • Testing helpers: withCachedValue(), withInitializer(), withSdk(), isUnderTest()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions