drupal-graphql / graphql-views

11 stars 18 forks source link

Crashes when rendering fields #29

Closed gheydon closed 4 years ago

gheydon commented 5 years ago

When displaying fields you cannot render fields you will get the following error.

NOTICE: PHP message: Uncaught PHP Exception LogicException: "Render context is empty, because render() was called outside of a renderRoot() or renderPlain() call. Use renderPlain()/renderRoot() or #lazy_builder/#pre_render instead.

ATM I need to display these as raw values to avoid crashing.

pmelab commented 4 years ago

Fields are currently not supported. Probably views display plugin should enforce that.