New Issue Checklist
Issue Description
Parse.Schema.addField can accept Pointer|Parse.Relation according to documentation.
Both require a targetClass but there's no way to pass this into the addField function.
The addField function strips out all but the type from the fieldOptions.
Steps to reproduce
Try adding a relation or pointer via the Parse.Schema addField function.
Actual Outcome
Expected Outcome
Either update documentation or maybe pass the targetClass through the options object.
Client
- Parse JS SDK version:
2.19.0