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

Add support for human-readable times to the cacheControl directive #7555

Open
mxstbr opened this issue Mar 25, 2019 · 0 comments
Open

Add support for human-readable times to the cacheControl directive #7555

mxstbr opened this issue Mar 25, 2019 · 0 comments

Comments

@mxstbr
Copy link

mxstbr commented Mar 25, 2019

Integrating https://github.com/zeit/ms to allow userse to specify the maxAge of the cacheControl directive in a more human-readable way would be very nice:

type User @cacheControl(maxAge: 540) {}
# compared to
type User @cacheControl(maxAge: "9m") {}
@mxstbr mxstbr changed the title Add Add support for human-readable times to the cacheControl directive Mar 25, 2019
@jbaxleyiii jbaxleyiii transferred this issue from apollographql/apollo-server Jul 8, 2019
@trevor-scheer trevor-scheer transferred this issue from apollographql/apollo-feature-requests May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant