MichalLytek / type-graphql

Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
https://typegraphql.com
MIT License
7.98k stars 674 forks source link

Apollo Cache example: Allow maxAge to be 0 #1608

Closed Antti-Kaikkonen closed 5 months ago

Antti-Kaikkonen commented 6 months ago

I used the CacheControl directive in my project, but it didn't allow me to set maxAge to 0.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c8d2e2d) 95.50% compared to head (d2d9fb9) 95.50%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1608 +/- ## ======================================= Coverage 95.50% 95.50% ======================================= Files 113 113 Lines 1848 1848 Branches 364 364 ======================================= Hits 1765 1765 Misses 83 83 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.