Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(syncConfigs): handle new model_schema + display in the UI #2404

Merged
merged 7 commits into from
Jun 27, 2024

Conversation

bodinsamuel
Copy link
Contributor

@bodinsamuel bodinsamuel commented Jun 25, 2024

Describe your changes

Fixes https://linear.app/nango/issue/NAN-1270/missing-data-in-api-ref-generation
Fixes https://linear.app/nango/issue/NAN-1292/show-types-in-ui

  • Correctly show new model in the UI
    You can test using your own scripts and try with a new provider checking the available templates

  • Update config.service.ts to return a StandardNangoConfig without going through unnecessary parsing
    We were fetching from the DB and then passing through the parsing again for no reason except outputting the same type. It's confusing and prevent me to get rid of the nango-config.service.ts, so I slightly rewrote the formatter to make it output the right format directly. I also grouped the 3 functions that were querying the same data with different params.

@bodinsamuel bodinsamuel self-assigned this Jun 25, 2024
Copy link

linear bot commented Jun 25, 2024

@bodinsamuel
Copy link
Contributor Author

bodinsamuel commented Jun 26, 2024

Missed action input, fixing that
Fixed, good for review

@bodinsamuel bodinsamuel changed the title fix(syncConfigs): handle new model_schema fix(syncConfigs): handle new model_schema + display in the UI Jun 26, 2024
Copy link
Member

@khaliqgant khaliqgant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unfortunately don't have too much bandwidth to do a thorough review but don't want to block. Looks good high level

@bodinsamuel bodinsamuel merged commit 1f8cd76 into master Jun 27, 2024
25 checks passed
@bodinsamuel bodinsamuel deleted the fix/ui-new-model-schema branch June 27, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants