You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Response headers setted with wp-graphql filters like graphql_response_headers_to_send or graphql_access_control_allow_headers are ignored when data is served from the cache.
Thank you for the great work!
Response headers setted with wp-graphql filters like
graphql_response_headers_to_send
orgraphql_access_control_allow_headers
are ignored when data is served from the cache.I used this code as a workaround.
Wouldn't it be better to insert
WPGraphQL\Router::set_headers()
exactly before calling therespond_and_exit
method of theQueryCache
class?The text was updated successfully, but these errors were encountered: