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

feat: Add dynamic ID generation for contract persistence #28

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

seuros
Copy link
Member

@seuros seuros commented Dec 1, 2024

Introduce logic to generate dynamic task IDs based on the contract name and method for better clarity and specificity.

This allow using sync and save in the same operation without affecting setting IDs manually.

Introduce logic to generate dynamic task IDs based on the contract name and method for better clarity and specificity.
This allow using sync and save in the same operation without affecting setting IDs manually
@seuros seuros requested a review from apotonick December 1, 2024 11:40
@@ -72,14 +72,14 @@ class Form < Reform::Form
class New < Upsert
end

it { Trailblazer::Developer.railway(New).must_equal %{[>model.build,>contract.build,>contract.default.validate,>persist.save]} }
it { Trailblazer::Developer.railway(New).must_equal %{[>model.build,>contract.build,>contract.default.validate,>persist.sync]} }
Copy link
Member

Choose a reason for hiding this comment

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

Is the path variable nil?

Copy link
Member Author

Choose a reason for hiding this comment

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

no.

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