Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore attribute error #661

Open
ross-carter-csfd opened this issue Dec 1, 2017 · 1 comment · Fixed by Adam-Langley/sqlite-net#1 · May be fixed by #1119
Open

Ignore attribute error #661

ross-carter-csfd opened this issue Dec 1, 2017 · 1 comment · Fixed by Adam-Langley/sqlite-net#1 · May be fixed by #1119

Comments

@ross-carter-csfd
Copy link

Using version 1.4.118, When creating a table for a sub-class that has a List property with an Ignore attribute, the error 'Don't know about List' is thrown.

This list originally came from a base class, and is subsequently overridden in the child class in order to decorate it with the [Ignore] attribute (the base class isn't exposed to SQLite reference dependency).

@hvaughan3
Copy link

This is the same as the following bug, which was never fixed. The only way to fix it so far has been to downgrade to 1.3.2. Praying that this will be fixed at some point...

Bug Link

Adam-Langley added a commit to Adam-Langley/sqlite-net that referenced this issue Jun 10, 2022
By manually traversing the object hierarchy, we can ensure all [Ignore] attributes, and attributes the derived from [IgnoreAttribute] are found.
Fixes praeclarum#1010
Fixes praeclarum#661
Fixes praeclarum#656
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants