Skip to content

Anonymous struct #82

Description

@mumia

Hi.

Was investigating this lib to use in a project and ran into some issues with payload registration.

Wanted to ask why the use of anonymous structs is even allowed.
See https://github.com/hellofresh/goengine/blob/master/strategy/json/payload_transformer_test.go#L139

They seem to result in an empty string when you try to reflect their name.

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