Skip to content

Question: Projector setup #290

Description

@TerraSkye

Hi was looking trough the examples and saw stated the folowing. and i wondered why it is that way :

if err := p.repo.Save(ctx, g); err != nil {

in here (guestlist projector ) we pass on the repo, and do the saving within the projector

in the invitation projector itself. we return the model, and do the saving outside the projecter.
why are these handled differently? and what are the determing factors to use either one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions