C# GraphQL dynamic query
Budget: €30 – €250 EUR
We wish to send sensor data to a cloud storage using a GraphQL api. Each sensor has 3 fields associated with it: Sensor Name, Value, and Unit. At any point in time, the number of sensors we wish to send data for might change, so we need to have a dynamic query that can export the data depending on the amount of input parameters. The input will come in as a List of strings, and each sensor will have it's data in an array of strings - such as { ["mtTemp", "25", "Celsius"], ["mtRain", "10", "Unknown"] }.
Using preferably the C# GraphQL library, you will have to make a function that can create a query similar to the one attached in the file dynamically (not necessary for it to be exact, but it should be valid GraphQL query). As minimalistic, compact and dynamic as possible is preferred.
Deliverable: A C# function that can dynamically create a GraphQL query similar to the attached query in the text file, based on input that is List<string[]>
Using preferably the C# GraphQL library, you will have to make a function that can create a query similar to the one attached in the file dynamically (not necessary for it to be exact, but it should be valid GraphQL query). As minimalistic, compact and dynamic as possible is preferred.
Deliverable: A C# function that can dynamically create a GraphQL query similar to the attached query in the text file, based on input that is List<string[]>