-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Attributes derived from IgnoreAttribute are ignored #558
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
Comments
Found the culprit of this issue. SQLite.cs, Line 1889: This kind of check only checks for the Changing this line to the following solves the issue.
IsDefined also takes derived types into account. I have created a pull request for this issue: #559 |
@praeclarum @gameleon-dev |
Thanks for catching this. Working on a test now... |
Thanks! I added a test so hopefully won't regress on this again. |
Since version 1.3.3 of the library there has been an issue with using attributes that derive from IgnoreAttribute.
The following example works fine:
The following example fails (Name is still added to the table):
Could this be a issue with the new reflection API used in the library?
The text was updated successfully, but these errors were encountered: