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

fix(pricing,types): remove is_dynamic from model + types #5664

Merged
merged 6 commits into from
Nov 22, 2023

Conversation

riqwan
Copy link
Contributor

@riqwan riqwan commented Nov 21, 2023

what:

Removing this until we introduce dynamic pricing.

Copy link

changeset-bot bot commented Nov 21, 2023

🦋 Changeset detected

Latest commit: 0359396

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@medusajs/pricing Patch
@medusajs/types Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Nov 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Visit Preview Nov 22, 2023 7:06pm
docs-ui ⬜️ Ignored (Inspect) Visit Preview Nov 22, 2023 7:06pm
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Nov 22, 2023 7:06pm

@riqwan riqwan marked this pull request as ready for review November 21, 2023 10:45
@riqwan riqwan requested a review from a team as a code owner November 21, 2023 10:45
Copy link
Member

@shahednasser shahednasser left a comment

Choose a reason for hiding this comment

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

LGTM

@riqwan riqwan requested a review from pKorsholm November 21, 2023 10:50
Base automatically changed from chore/update-pricing-tsdocs to develop November 21, 2023 11:26
Copy link
Contributor

@pKorsholm pKorsholm left a comment

Choose a reason for hiding this comment

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

lgtm, just a minor change wrt. migrations

Comment on lines -42 to -44
@Property({ columnType: "boolean", default: false })
is_dynamic: boolean

Copy link
Contributor

Choose a reason for hiding this comment

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

question: should this require an additional migration? or do we want to keep the db column but remove the property here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

lets keep the migration there for now, we can always remove it at a later point.

@kodiakhq kodiakhq bot merged commit 6025c70 into develop Nov 22, 2023
11 of 12 checks passed
@kodiakhq kodiakhq bot deleted the fix/remove-is-dynamic branch November 22, 2023 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants