Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Adapter capability #16

Open
GerkinDev opened this issue Jun 25, 2018 · 0 comments
Open

Adapter capability #16

GerkinDev opened this issue Jun 25, 2018 · 0 comments
Assignees

Comments

@GerkinDev
Copy link
Member

In order to help the user, the next adapter structure should allow developer to indicate which features are available, such as query operator, schemas, or pubsub (see #5). It may require each query operator to be casted using its own function.

Maybe a QL translator class may help, to translate from Diaspora QL & DB specific language.

But there are still some exceptions: Some adapters (such as In Memory, LocalStorage or WebAPI) should not translate query language from objects to string or objects. WebAPI should transfert the query "as is" and InMemory or LocalStorage may generate a matcher function to perform the query. The next adapters structure should support that

@GerkinDev GerkinDev self-assigned this Jun 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant