Skip to content

Comments next to type definition are picked up as part of the type definition #11

@MiaKoring

Description

@MiaKoring
@Field var category: String // Added field

results in the following code inside the initializer

self.category = try! String // Added field.init(fromPersistent: String // Added field.PersistentRepresentation.decode(sqliteValue: fields["category"]!))!

and in _fieldInformation

Vein.FieldInformation(String // Added field.sqliteTypeName, "category", true),

This can likely be fixed by doing a substring until the first /

I’m not sure yet if default values are affected as well, this needs to be tested

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