Skip to content

Subtypes of JsonValue are not supported as return type #8

@javier-godoy

Description

@javier-godoy

The documentation claims that "JsonValue is supported as both argument and return type", but declaring a return type that is a subtype of JsonValue is not supported.

For instance, JsonNumber returnJsonNumber(double arg); fails with:

com.flowingcode.vaadin.testbench.rpc.IllegalRpcSignatureException: Return type interface elemental.json.JsonNumber is not supported by TestBench-RPC.

Metadata

Metadata

Assignees

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