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

apollo-server-types: move info.cacheControl 'declare module' here #5512

Merged
merged 1 commit into from
Jul 19, 2021

Commits on Jul 19, 2021

  1. apollo-server-types: move info.cacheControl 'declare module' here

    This makes `info.cacheControl` available to TypeScript packages that
    depend on `apollo-server-types` rather than only being declared deep
    inside `apollo-server-core`. Additionally, it gives a name to type used
    for `info.cacheControl`.
    
    Intended for use cases like
    apollographql/federation#870
    
    We've run into tricky issues with `declare module` before so if this
    ends up causing more problems than it's worth, we may revert it.
    glasser committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    539005d View commit details
    Browse the repository at this point in the history