Skip to content

Conversation

@Nytra
Copy link
Collaborator

@Nytra Nytra commented Oct 4, 2025

This removes the hardcoded list of valid node types, it can now work with any class which is detected as a node type (has a node attribute on it)

This means you can make abstract base classes for nodes now (yay for obsidian audio nodes)

The namespace of nodes doesn't matter anymore. The actual generated binding class will always have its namespace prefixed with "Bindings."

However now there needs to be a hardcoded list of additional using statements to add.

(Backwards compatibility has been added due to the bindings namespace change)

(Project Obsidian compiles with these changes and works)

@Nytra

This comment was marked as resolved.

@Nytra
Copy link
Collaborator Author

Nytra commented Oct 4, 2025

fixed, also PLEASE SQUASH MERGE THIS

@Nytra Nytra requested a review from Xlinka October 4, 2025 14:33
@Nytra
Copy link
Collaborator Author

Nytra commented Oct 4, 2025

I tested with another plugin too and it works https://github.com/GrandtheUK/ResoniteCollectionsPlugin

@Nytra Nytra merged commit e073aba into main Oct 10, 2025
1 check passed
@Nytra
Copy link
Collaborator Author

Nytra commented Oct 10, 2025

Merged because I need this to start working on the audio node consolidation for Obsidian

@Nytra Nytra deleted the tryFixAbstract3 branch October 10, 2025 21:18
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.

2 participants