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

Remove the perspective feature #749

Closed
claustres opened this issue Aug 21, 2023 · 1 comment
Closed

Remove the perspective feature #749

claustres opened this issue Aug 21, 2023 · 1 comment
Assignees
Labels
core Issue affecting core module enhancement
Milestone

Comments

@claustres
Copy link
Member

claustres commented Aug 21, 2023

Perspectives are used on services to identify nested object properties that should not be retrieved by default, if you'd like to retrieve it you have to use $select. However, this complexifies the way editors are implemented when targetting a perspective. Moreover, it does not work well with some feathers modules like feathersjs-ecosystem/feathers-reactive#214.

We should try to remove it in KDK to let applications chooose wich properties to hide using discard() or preventChanges() hooks. We should however still allow editors to work on nested properties.

@claustres claustres added enhancement core Issue affecting core module labels Aug 21, 2023
@claustres claustres added this to the v2.1.x milestone Aug 21, 2023
@claustres claustres self-assigned this Aug 22, 2023
@claustres
Copy link
Member Author

For now we only keep the ability to edit a nested object using an editor, all other related perspective things are gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issue affecting core module enhancement
Projects
Status: Done
Development

No branches or pull requests

1 participant