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

Add Macros for Polymorphic Relationships #7

Merged
merged 7 commits into from
Mar 5, 2025

Conversation

ItsReddi
Copy link
Contributor

@ItsReddi ItsReddi commented Mar 5, 2025

Added two new macros to simplify the definition of polymorphic relationships with Snowflake IDs:

  • morphsSnowflake: Defines a required polymorphic relationship using Snowflake IDs.
  • nullableMorphsSnowflake: Defines an optional polymorphic relationship using Snowflake IDs.

Copy link
Owner

@calebdw calebdw left a comment

Choose a reason for hiding this comment

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

Looks pretty good, just a couple of nits

Copy link

codecov bot commented Mar 5, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@calebdw calebdw merged commit 554c20f into calebdw:master Mar 5, 2025
4 checks passed
@calebdw
Copy link
Owner

calebdw commented Mar 5, 2025

Awesome, thanks!

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.

2 participants