How to get CONFIGURABLES from predicate root?

Is there a method to retrieve the CONFIGURABLES that were passed to the predicate constructor based on the predicate root, code, or any other means? Essentially, I’m looking for a reverse function for the Predicate constructor that can provide access to the initial configuration parameters.

I don’t believe there’s any way to “reverse” a predicate root, as it’s just a hash of the code (and the code includes configurables inlined).

However, we’re working on developing a standard for emitting logs when “creating” a predicate. This would allow an indexer to index all predicates and provide the configurables passed there.

1 Like