Skip to content

get_object should be able to return both dict and list #63

@thomaspoignant

Description

@thomaspoignant

The SDK is not able to return a list while calling get_object_*.
Other SDKs can return both list and dict with the get_object functions.

The AbstractProvider request to implement resolve_object_details and return a FlagEvaluationDetails[dict] object.
If we want to support both types we should return a FlagEvaluationDetails[Union[dict,list]] object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions