Skip to content

Fully qualified name to Go type not applied, no erros shown in console #462

Closed

Description

@maxiride

Due to the heavy involvement of marshalling and unmarshalling to JSON needed in my application I wanted to use the zero. types provided by gopkg.in/guregu/null.v3/zero.

I've tried to do a test run to substitute strings with the zero.String type provided by the package without success, here is the relevant configuration.

overrides:
  - go_type: "gopkg.in/guregu/null.v3/zero.String"
    db_type: "string"
    "null": true

I am using "null" thanks to the report made in #413

The type applied to the generated models is still the default sql.NullString.

Given that I never heard of "fully qualified name to a go type" I suppose I might be wrong in the configuration 😅 and I'd appreciate to shed some light on the subject.


Upon further browsing the issue I found #255 which I suppose is related if not the same issue I am encountering.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions