Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.75k stars 1.57k forks source link

Validate link field names cannot overlap with table field names. #14742

Closed samwho closed 1 month ago

samwho commented 1 month ago

Description

Noticed this while creating a view test case: if the fieldName of a link field overlaps with a field name on the table itself all sorts of horrendous errors occur. So I'm checking for it on table creation to make sure users get a nice error message when it happens.

qa-wolf[bot] commented 1 month ago

QA Wolf here! As you write new code it's important that your test coverage is keeping up. Click here to request test coverage for this PR!

samwho commented 1 month ago

Hit some strange errors with this that makes me think it works differently to how I think, going to leave it for now.