Have you built the AOTClasses and link.xml files through the Preferred Types Editor? (DOC LINK). If so, could you please post the error you are getting?
Here is the code for the PureFunctionNode you requested. The code was simply missing another List<T> parameter: