neosync icon indicating copy to clipboard operation
neosync copied to clipboard

[NEOS-1076] Update job mapping SchemaColumns to not rely on forms

Open nickzelei opened this issue 1 year ago • 1 comments

It would be great to make this thing agnostic to react-hook-form and just expose callbacks in the props.

That way we can use this table for more than form-related items.

Also would be great to just decouple it in general as it would make it more clean and possibly less bug prone.

From SyncLinear.com | NEOS-1076

nickzelei avatar May 03 '24 23:05 nickzelei

Was bit by this again where I wanted to change the datagen form to have the mappings nested inside of another property for better organization. This broke the schema page table because it expects there to be a mappings property at the root of the form. Removing the form dependency will allow any user to consume from this component and have their form in any structure theywish.

nickzelei avatar May 08 '24 20:05 nickzelei