We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this.store.query
include
The this.store.query (legacy adapters) isn't working correctly when we pass includes as array.
includes
this.store.query<Company>('company', { filter: { type: 'example', }, include: ['ceo', 'employee'], });
The query params result in url is: &include[]=ceo&include[]=employee
&include[]=ceo&include[]=employee
it should be &include=ceo,employee
&include=ceo,employee
This bug was fixed for findAll & findRecord in #9583
findAll
findRecord
It was not fixed for query (maybe also other) because this.buildQuery will not be called inside that function
query
this.buildQuery
data/packages/adapter/src/rest.ts
Lines 587 to 595 in 83c176c
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
this.store.query
(legacy adapters) isn't working correctly when we passincludes
as array.The query params result in url is:
&include[]=ceo&include[]=employee
it should be
&include=ceo,employee
This bug was fixed for
findAll
&findRecord
in #9583It was not fixed for
query
(maybe also other) becausethis.buildQuery
will not be called inside that functiondata/packages/adapter/src/rest.ts
Lines 587 to 595 in 83c176c
The text was updated successfully, but these errors were encountered: