Skip to content

Published data, brought in by MeteorGriddle (rowData) does not have helpers (transform) applied #12

Description

@zeroasterisk

ref:
dburles/meteor-collection-helpers#60

It appears that my found documents from MeteorGriddle do not have their helpers.

I can work around this by manually applying inside a React component Campaigns._transform(this.props.rowData)... but i shouldn't have to.

I also tried to set it up manually within the publish as a custom transform options.transform = (doc) => Campaigns._transform(doc);...
but it still didn't have the helpers by the time it got to rowData.

Is this a problem with MeteorGriddle somehow (seems unlikely), or with Collection Helpers (also seems unlikely), or my implementation (likely, but unsure how to debug)?

I do have helpers whenever I manually find() a document, in the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions