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(core): Do not enable strict type validation by default for resource mapper #13037

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

elsmr
Copy link
Member

@elsmr elsmr commented Feb 4, 2025

Summary

In #11837 strict validation was turned on by default for resource mappers, breaking existing workflows that relied on type conversion.

This PR reverts to the old behavior (strict=false) when the resource mapper has no attemptToConvertTypes option set.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/NODE-2249/community-issue-sql-data-type-error

fixes #12651

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@elsmr elsmr added the release/backport Changes that need to be backported to older releases. label Feb 4, 2025
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Copy link
Contributor

github-actions bot commented Feb 4, 2025

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Feb 4, 2025

n8n    Run #9104

Run Properties:  status check passed Passed #9104  •  git commit c1f0a9a97e: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Project n8n
Branch Review node-2249-community-issue-sql-data-type-error
Run status status check passed Passed #9104
Run duration 04m 59s
Commit git commit c1f0a9a97e: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Committer Elias Meire
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 5
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 433
View all changes introduced in this branch ↗︎

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Feb 4, 2025
@elsmr elsmr merged commit fdcff90 into master Feb 4, 2025
37 checks passed
@elsmr elsmr deleted the node-2249-community-issue-sql-data-type-error branch February 4, 2025 11:32
elsmr added a commit that referenced this pull request Feb 4, 2025
elsmr added a commit that referenced this pull request Feb 4, 2025
This was referenced Feb 4, 2025
@janober
Copy link
Member

janober commented Feb 4, 2025

Got released with [email protected]

This was referenced Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team release/backport Changes that need to be backported to older releases. Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQL data type error
3 participants