registerObject ? how to programatically validate properties?


#1

Hello !

I’m writing a plugin for GJS/GI https://wiki.gnome.org/action/show/Projects/GObjectIntrospection and i need to validate their ‘requires’ in an object (they get into imports.gi.${COMPONENT_NAME})

I’m not sure how i get to be called everytime an imports.gi.SOMETHING is referenced to check if it’s valid or not.

do you have any advices on how to start ?