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

🐛 Bug: When M2M Link type column is created in the table linking to itself (the same table), it does not show up in Swagger #8463

Open
1 task done
woodmin opened this issue May 11, 2024 · 1 comment

Comments

@woodmin
Copy link

woodmin commented May 11, 2024

Please confirm if bug report does NOT exist already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

Create M2M Link type column in the table, link it to itself (the same table).
Go to Swagger page, navigate to the same table Create Link endpoint.
There Link Type columns (id strings and dropdown) are not displayed/available to be picked.

Desired Behavior

M2M Link column Id should be shown and available in dropdon.
I worked around by getting column id over meta API, but it should be available in Swagger GUI too.

Project Details

Project Details
Node: v20.11.1
Arch: x64
Platform: linux
Docker: true
RootDB: pg
PackageVersion: 0.207.0

Attachments

No response

@woodmin
Copy link
Author

woodmin commented May 17, 2024

Not sure this is related, but there is a high chance it is. If table is linked to itself M2M, 2 columns appear representing both 'ends' of connection. However, only one of them is available in Lookup field. Both should be available. Now just to represent data on both parent and children records with lookup, one has to create 2x identical M2M connections from different directions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏌️ Open
Development

No branches or pull requests

1 participant