there is a bug in the if clause where it would remove a field if it should be added and is already present.
for example if you call requestAllFields().requestPromotedObjectField(true) it would actually remove promotedObject instead of keeping it (requestAllFields added it first)
there is a bug in the if clause where it would remove a field if it should be added and is already present.
for example if you call
requestAllFields().requestPromotedObjectField(true)
it would actually remove promotedObject instead of keeping it (requestAllFields added it first)