Skip to content

Congratulations and questions/proposals/fears #40

@frederikhors

Description

@frederikhors

Your work is amazing!

It feels like every line of code is sweaty. 😄

A huge thank you for all this.

In a few hours I want to start a project with this.

Issues

  1. Copying the code from the Readme for convert_plugin.go I have to write an additional argument for gbgen.NewConvertPlugin. What should I write there?

Proposals

  1. I undertake to write documentation for every single thing I learn, day after day: explanations that maybe those who created it take for granted, recipes for routine things etc.

  2. But we have to decide where to write them: one thing that doesn't steal more than 10 minutes of setup. A Gitbook on github pages?

Fears

  1. How to write business logic after all the generation?

    Example:

    If I'm creating a Player for a Team I wanna check if Team has enough "space" before (in a simple DB transaction).

    Is this eventuality considered? I think so, of course. I just don't know where to start. 😢

  2. Have you ever needed to use something for tenants in the DB?

    Something like https://github.com/influitive/apartment for Rails.

    Quite simply adding WHERE tenant_id = [ID] to each DB query and the same for insert/update/delete queries.

Thanks again for this huge huge huge work! 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions