SnotyMe / snoty-backend

The Backend of the Diploma Thesis "Snoty.Me"
GNU General Public License v3.0
2 stars 0 forks source link

Node metadata + KSP plugin #11

Open SIMULATAN opened 1 month ago

SIMULATAN commented 1 month ago

In order to get static node metadata like the display name, input/output and settings schemas, hidden fields etc. there should be something a NodeMetadata system.

To make it easier for developers to create, a KSP plugin should be created with features just as:

  1. creating settings schemas 1.1 feat. Hide and Censor
  2. Generate Inputs / Outputs TODO: decide on how to specify this as a developer

These objects have to be registered at a central place somewhere to be fetched regularly by the frontend with minimal performance overhead

SIMULATAN commented 1 month ago

See https://kotlinlang.org/docs/ksp-quickstart.html#create-a-processor-of-your-own