Custom Function
You may not have noticed, but when you're making GraphQL calls, you're actually calling a Function (not to be confused with a Javascript function
) on the API side. Capital-F Functions are meant to be deployed to serverless providers like AWS Lambda. (We're using Netlify's nomenclature when we call them Functions.)
Did you know you can create your own Functions that do whatever you want? Normally we recommend that if you have custom behavior, even if it's unrelated to the database, you make it available as a GraphQL field so that your entire application has one, unified API interface. But rules were meant to be broken!
How about a custom Function that returns the timestamp from the server?