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]: PatchToOneRelationshipLinks need more validation in some scenarios #1172

Open
jessevz opened this issue Jan 8, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@jessevz
Copy link
Contributor

jessevz commented Jan 8, 2025

Version Information

0.14.3

Hashcat

No response

Description

Currently patching to one relationship links can get unwanted behavior. For example it allows you to put an MD5 hash to a SHA1 hashlist. An easy fix for this could be to to make the foreignkey immutable in scenarios like this. But a better solution would probably be to create an overridable function in the child route to add more logic for objects where more logic is required. This has also been done for patching to many relationship links.

@jessevz jessevz added the bug Something isn't working label Jan 8, 2025
@github-project-automation github-project-automation bot moved this to To triage in 🐛 Bug Tracker Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To triage
Status: No status
Development

No branches or pull requests

1 participant