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
Describe the bug findById returns keys with undefined when fields filter is array. if fields filter is array it return empty object
To Reproduce Steps to reproduce the behavior:
fields: [ "id", "header", "content"],
{id:undefined, header: undefined, content: undefined }
Expected behavior It should return object with keys that we pass with fields with array
The text was updated successfully, but these errors were encountered:
fix(repository): added checks for fields passed as an array in case o…
34ceb63
…f findbyid added checks for fields passed as an array in function findById. sourcefuseGH-117
2a66e59
…f findbyid (#122) added checks for fields passed as an array in function findById. GH-117
done
Sorry, something went wrong.
prernagp
No branches or pull requests
Describe the bug
findById returns keys with undefined when fields filter is array. if fields filter is array it return empty object
To Reproduce
Steps to reproduce the behavior:
fields: [ "id", "header", "content"],
returned values:
{id:undefined, header: undefined, content: undefined }
Expected behavior
It should return object with keys that we pass with fields with array
The text was updated successfully, but these errors were encountered: