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

Support range on field type #71

Open
raminqaf opened this issue Sep 7, 2022 · 0 comments
Open

Support range on field type #71

raminqaf opened this issue Sep 7, 2022 · 0 comments
Labels

Comments

@raminqaf
Copy link
Contributor

raminqaf commented Sep 7, 2022

Currently, we just concentrated on range queries with topic directives on the Query type. It would be nice to support range of queries on the field type.

type Query {
    product(key: Int, timestampFrom: Int, timestampTo: Int): ProductInfo!
}

type ProductInfo {
    key: String!
    info: [Info!] @topic(name: "info-topic", keyField: "key", rangeFrom: "timestampFrom", rangeTo: "timestampTo")
}

type Info {
    key: Int
    timestamp: Int!
}
@raminqaf raminqaf added this to the Complex GraphQL queries milestone Sep 7, 2022
@raminqaf raminqaf added this to Quick Sep 7, 2022
@raminqaf raminqaf changed the title Support range field on field type Support range on field type Sep 7, 2022
@raminqaf raminqaf moved this to Todo in Quick Oct 5, 2022
@raminqaf raminqaf removed the status in Quick Oct 13, 2022
@raminqaf raminqaf removed this from the Complex GraphQL queries milestone Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant