Idea: restore the ability to easily show all fields in the popup again (with the "{*}" popupTemplate). This is vital. Hard-coding in the fields as API 4.12+ suggests is often not workable since layers will change schemas or be from external partner agencies and may change at any time. https://community.esri.com/thread/239435-412-popup-changes-why-and-what-now?sr=inbox
This would result in fields like ObjectID which are not needed. Easy solution: incorporate a way of excluding one or more specified fields.