Skip to content
New issue

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

Think about to remove doc from getObjectList result (breaking) #1961

Open
foxriver76 opened this issue Jul 20, 2022 · 2 comments
Open

Think about to remove doc from getObjectList result (breaking) #1961

foxriver76 opened this issue Jul 20, 2022 · 2 comments
Labels

Comments

@foxriver76
Copy link
Collaborator

Currently, we return doc and value on getObjectList calls. They are internally the same. Maybe at some point we can remove one of the values. I prefer to keep value as it is better describing the content.

result.rows.push({ id: obj._id, value: obj, doc: obj });

Unfortunately this will be breaking.

@Apollon77
Copy link
Collaborator

so more something for v5?

@Apollon77 Apollon77 changed the title Think about to remove doc from getObjectList result Think about to remove doc from getObjectList result (breaking) Aug 29, 2022
@foxriver76
Copy link
Collaborator Author

Yes no hurry with this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants