Skip to content

I cannot make entity object public #101

@leuski-ict

Description

@leuski-ict

Steps to reproduce

Declare your model structure public. As soon as you do that, you get

Type alias 'EntityType' must be declared public because it matches a requirement in public protocol '__EntityRelatable' in the generated code.
Property '_id' must be declared public because it matches a requirement in public protocol '__EntityRelatable'
...

I tried

swift package plugin --allow-writing-to-package-directory objectbox-generator --visibility public

but that didn't do anything. Did I miss something?

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions