How to match the pattern of a function in Relay?

+1 for this feature - I have some use-cases where it would be valuable to match composite functions.