Skip to content

Java SDK expects versions to be provided for retrieval #460

Closed
@zhilingc

Description

Expected Behavior

Retrieval of features via the Java SDK should not require reference to the feature version

Current Behavior

Validation error is thrown if feature provided has no version:

  message: "Feature id 'project/feature' has invalid format. Expected format: <project>/<feature-name>:<feature-version>."  

Steps to reproduce

Request for feature without version

Specifications

  • Version: 0.4.4

Possible Solution

Let feature versions be optional. Relevant code is here.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions