praeclarum / praeclarum/sqlite-net

Ignore attribute on Inherited list not working

Open
#656 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
4.5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Starting from version 1.3.2, When creating a table for a 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 furnish it with the [Ignore] attribute (the base class isn't exposed to SQLite reference dependency). My guess is it somehow referred back to the base class's property.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce table creation for a child class that overrides an inherited List property with [Ignore], using the error scenario described in the issue. Trace the property mapping and Ignore-attribute handling to determine why the base property is still referenced; done means the table is created without the “Don't know about List” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sqlite
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.