rolodex icon indicating copy to clipboard operation
rolodex copied to clipboard

Allow options to be used on fields with a schema type

Open opsb opened this issue 5 years ago • 0 comments
trafficstars

Currently fields that use a schema type lose any options that you pass to the field e.g.

field(:parent, Rolodex.Mocks.Parent, required: true)

loses the required: true. The PR is a small change to keep the metadata when swapping in refs rather than replacing it entirely.

opsb avatar Nov 20 '20 11:11 opsb