Skip to content

StreamFieldType not compatible with Wagtail>=2.14 #1

Description

@johncarter-phntm

Just in case other people reach here from this blog - https://wagtail.io/blog/graphql-with-streamfield/

@staticmethod
def serialize(dt):
return dt.stream_data

I think on Wagtail>=2.14 this needs to be something like

  @staticmethod
  def serialize(dt):
    return list(dt.raw_data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions