Skip to content

NoteControllerFix - #141

Merged
prestoncraw merged 4 commits into
developmentfrom
NoteControllerFix
Aug 6, 2026
Merged

NoteControllerFix#141
prestoncraw merged 4 commits into
developmentfrom
NoteControllerFix

Conversation

@prestoncraw

Copy link
Copy Markdown
Contributor

Fix generic type usage in NotesController for record addition

@prestoncraw
prestoncraw requested a review from elwills August 6, 2026 19:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes record insertion behavior in the generic NotesController<T> by ensuring TableOperations uses the actual controller model type T rather than the base Notes type, aligning record-add behavior with the controller’s generic type.

Changes:

  • Use TableOperations<T> in NotesController<T>.Post instead of TableOperations<Notes> to add new records for derived note models.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Libraries/openXDA.Model/Note.cs Outdated
@prestoncraw
prestoncraw merged commit e3bbafa into development Aug 6, 2026
@prestoncraw
prestoncraw deleted the NoteControllerFix branch August 6, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants