If there are many duplicate fields across implemented types, is there a way to access them, and get nil if the type does not have the field? #3469
Labels
question
Issues that have a question which should be addressed
Question
In our schema, there are cases where there are many polymorphic types that all have the same field, but one type does not have the type, so it is not placed at the top level of the shared type.
Is there any way to access that field by name, if it exists, but get nil if it does not exist?
This is what I'm currently writing which feels super verbose:
The text was updated successfully, but these errors were encountered: