You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we try to access a key that doesn't exist, we need to gracefully handle this if any error occurs or an exception is thrown.
How to Reproduce
varquickbaseClient=newQuickbaseClient("REALM_NAME","USER_TOKEN");varqbQuery=newQuickbaseQueryBuilder().From("tableId").Where($"{{'7'.CT.'{search}'}}").Select([3,7])// We didnt select 150!!.Build();var(response,errorResponse,isSuccess)=awaitquickbaseClient.QueryRecords(qbQuery);if(!isSuccess){_logger.LogError($"Error querying Quickbase: {errorResponse?.Description} - {errorResponse?.Message}");return;}vardataFromQuery=response.Data.First();worksheet.Cells["B5"].Value=qbResults["150"]?.Value;// This will throw an exception!!
The text was updated successfully, but these errors were encountered:
- Implement NullValueHandling.Ignore for JSON serialization
- Change Value property from dynamic to object for clarity
- Add GetValue<T>() method for type-safe value retrieval
Issue
If we try to access a key that doesn't exist, we need to gracefully handle this if any error occurs or an exception is thrown.
How to Reproduce
The text was updated successfully, but these errors were encountered: