Skip to content

Conversation

@marlonkeating
Copy link
Contributor

Description:
Follow-up for #916, with needed updates to serializers for checkout context bff field constraints.

Jira:
ENT-10753

Testing Instructions

  • Navigate to http://localhost:18270/api-docs/
  • Scroll to v1/bffs/checkout/context/ POST entry
  • Click "Try it out" -> Execute
  • Verify the response field_constraints contains the new entries full_name, admin_email, country, company_name

Merge checklist:

  • ./manage.py makemigrations has been run
    • Note: This must be run if you modified any models.
      • It may or may not make a migration depending on exactly what you modified, but it should still be run.

Post merge:

  • Ensure that your changes went out to the stage instance
  • Deploy to prod instance



class SlugConstraintSerializer(serializers.Serializer):
class StringConstraintSerializer(serializers.Serializer):
Copy link
Contributor

Choose a reason for hiding this comment

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

good idea

@marlonkeating marlonkeating merged commit a8c5434 into main Nov 7, 2025
4 checks passed
@marlonkeating marlonkeating deleted the mkeating/ENT-10753-2 branch November 7, 2025 17:08
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.

3 participants