Open SomeoneToIgnore opened 5 years ago
Given a service method defined as
@NotNull public List<@NotNull Product> list() { return repository.findAll(); }
I would expect the following TS definition generated by the plugin:
export function list(): Promise<Array<Product>> { return client.call('ProductEndpoint', 'list'); }
Instead I get
export function list(): Promise<Array<Product | null>> { return client.call('ProductEndpoint', 'list'); }
+1 for this
Given a service method defined as
I would expect the following TS definition generated by the plugin:
Instead I get