NangoHQ / nango

A single API for all your integrations.
https://www.nango.dev
Other
4.33k stars 382 forks source link

fix(db): add models_json_schema to sync_configs #2369

Closed bodinsamuel closed 2 weeks ago

bodinsamuel commented 2 weeks ago

Describe your changes

Contributes to https://linear.app/nango/issue/NAN-1155/upload-json-schema-when-deploying

linear[bot] commented 2 weeks ago

NAN-1155 Upload JSON schema when deploying

TBonnin commented 2 weeks ago

I imagine the exisiting model_schema column is not enough. Aren't those 2 columns redundant though?

bodinsamuel commented 2 weeks ago

I imagine the exisiting model_schema column is not enough. Aren't those 2 columns redundant though?

They kinda are but not really, model_schema is used for the UI. I don't want to break everything (it's already kinda broken tho). After I upload json_schema I might be able to generate code snippets directly with the json_schema and drop the column but I don't want to do everything at once

bodinsamuel commented 2 weeks ago

closed by mistake*