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

Look into adding Disconnected Records & Collections #9

Open
rotexdegba opened this issue Nov 7, 2022 · 0 comments
Open

Look into adding Disconnected Records & Collections #9

rotexdegba opened this issue Nov 7, 2022 · 0 comments
Labels
nice-to-have Features or enhancements that are not pressing but nice to have

Comments

@rotexdegba
Copy link
Member

  • The concept of a DisconnectedRecordInterface and a DisconnectedCollectionInterface that will be similar to the existing RecordInterface and a CollectionInterface but without the need / reference to a Model object (these new interfaces will not contain methods that perform database operations such as save, delete, etc.). Instances of DisconnectedRecordInterface and DisconnectedCollectionInterface will exist without any reference to a Model object. They could be used with non-sql data sources.

    A good approach will be to define methods common to DisconnectedRecordInterface and RecordInterface inside of DisconnectedRecordInterface and make RecordInterface extend DisconnectedRecordInterface (in this case RecordInterface will only contain additional method signatures that require a Model object and / or perform operations on the database)

@rotexdegba rotexdegba added the nice-to-have Features or enhancements that are not pressing but nice to have label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nice-to-have Features or enhancements that are not pressing but nice to have
Projects
None yet
Development

No branches or pull requests

1 participant