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

Store Parent as Topic Reference? #33

Open
JeremyCaney opened this issue Mar 5, 2021 · 0 comments
Open

Store Parent as Topic Reference? #33

JeremyCaney opened this issue Mar 5, 2021 · 0 comments
Labels
Area: Entity Relates to the core data data structure for modeling topic entities. Status 0: Discussion Needs further evaluation of requirements and prioritization. Type: Improvement Improves the functionality or interface of an existing feature.

Comments

@JeremyCaney
Copy link
Member

A parent is, fundamentally, a topic reference, but it is currently stored on the [dbo].[Topics] table, and not accessible via Topic.References.

Storing it as a topic reference would be more consistent with other topic references and offer better referential integrity, but it would also introduce some specific challenges.

Challenges

  • Topic references are versioned, but we don't want a rollback to revert the location in the topic graph. As such, the Parent reference would need to be excluded from a Rollback().
  • May need to reintroduce a TopicIndex to combine the latest ParentId with [dbo].[Topics] data. Or could Parent just be assembled just like other topic references?
@JeremyCaney JeremyCaney created this issue from a note in .NET 5.x Version (Deferred) Mar 5, 2021
@JeremyCaney JeremyCaney added Area: Entity Relates to the core data data structure for modeling topic entities. Status 0: Discussion Needs further evaluation of requirements and prioritization. Type: Improvement Improves the functionality or interface of an existing feature. labels Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Entity Relates to the core data data structure for modeling topic entities. Status 0: Discussion Needs further evaluation of requirements and prioritization. Type: Improvement Improves the functionality or interface of an existing feature.
Projects
No open projects
.NET 5.x Version
  
Deferred
Development

No branches or pull requests

1 participant