Skip to content

Conversation

pwnage101
Copy link
Contributor

@pwnage101 pwnage101 commented Oct 2, 2025

This change is needed to support the use case of creating an intent WITHOUT an enterprise slug/name, such as during submission of the PlanDetails page (first page) of the checkout stepper.

ENT-10756

Pairs with: edx/frontend-app-enterprise-checkout#60

Copy link
Contributor

@iloveagent57 iloveagent57 left a comment

Choose a reason for hiding this comment

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

I think this makes sense.

Comment on lines 465 to 466
else:
pass # Cases 1, 2, 3
Copy link
Contributor

Choose a reason for hiding this comment

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

technicall we don't need this else. maybe a comment next to should_reserve_new_slug = False like "default to False, covers cases # 1, 2, 3

Comment on lines +481 to +491
# Any of the following could be None since they're optional, in
# which case they would be unset, making this method act more
# like PUT than PATCH.
Copy link
Contributor

Choose a reason for hiding this comment

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

We should articulate this in the method docstring, too

This change is needed to support the use case of creating an intent
WITHOUT an enterprise slug/name, such as during submission of the
PlanDetails page (first page) of the checkout stepper.

ENT-10756
@pwnage101 pwnage101 force-pushed the pwnage101/ENT-10756 branch from c022bb7 to 797c185 Compare October 3, 2025 21:30
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