Skip to content

Add better error handling in the fetch-by-key test #52

Closed
@darnjo

Description

@darnjo

Currently, the fetch-by-key Web API Core query will fail if an array of values is returned from the server, as it expects a single value.

If a values array is provided instead, the tests fail but the error messages aren't very informative. Add an error message that tests for an array of values in this case and informs the user to pass a singleton instead.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions