drupal-graphql / graphql-metatag

6 stars 13 forks source link

InternalUrl was not returning any results #16

Closed acha5066 closed 4 years ago

acha5066 commented 4 years ago

As stated, using a route query in GraphQL and an InternalUrl fragment I was getting no results for metatags on a view. After a little digging with my debugger I could see that the Metatags resolver was yielding a CacheableValue rather than the value itself, so I changed it to yield the value and my results were returned.

With that said, I don't know what the implications of that change are. Will it break caching?

acha5066 commented 4 years ago

Just noticed there is already an identical PR: https://github.com/drupal-graphql/graphql-metatag/pull/9/commits/b72db61390e1160fb3fec28140c37d1fdf6455e1