Skip to content

Doesn't work with compiled models #47

Open
@karl-sjogren

Description

@karl-sjogren

If we use this with compiled models, the special types used behind the scenes breaks the build.

After rebuilding/regenerating our compiled models we got a generated model that references the internal types SimpleQueryableValuesEntity, ComplexQueryableValuesEntity and QueryableValuesEntity (and possibly some more that I didn't catch).

CompiledModels/ComplexQueryableValuesEntityEntityType.cs(3432,35): error CS0122: 'ComplexQueryableValuesEntity' is inaccessible due to its protection level

Got almost 400 variations of that error in different generated files. And since it breaks the build, I need to manually clean this up since rebuilding these files requires the project to build in the first place.

The simplest solution would be to just make these classes public, maybe put into a Internal namespace or something to signal that they shouldn't be used directly by the end user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions