Hello,
I have some code which is trying to generate a filter (WHERE statement) automatically using queryspec.
What I have is the name of the entity field class e.g. CustomerFields. Now I want to test if it has a particular field.
I found EntityFieldFactory where the create method has two string params. The problem is, if the field doesn't exists it throws an null exception.
Is there any other way where how to test if the entity has a particular field without throwing an exception if the field doesnt exist ? (return null, or false)