Validating multiple input arguments

Hi,

I’m looking for advice on how to validate multiple input arguments together using Apollo Server.

Example:

input TransactionValueFilter {
  min: Int
  max: Int
}

Schema validation will make sure min & max are integers. But how can I validate max >= min ? Is there a better way than writing validation logic in the resolver?

Thank you in advance for any help