fix: deploy customDomains #1142
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔧 Changes
Add new badge to the
README.mdand updates theCustomDomainsHadnlerclass to improve how custom domain fields are handled during create and update operations. The main focus is on ensuring that certain metadata fields are stripped out when creating or updating custom domains, which helps prevent errors and keeps the payloads clean.Custom Domains handler improvements:
stripCreateFieldsinCustomDomainsHadnlerto also removecreated_atandupdated_atfields when creating custom domains, preventing unintended metadata from being sent.stripUpdateFieldsto also removecreated_atandupdated_atfields when updating custom domains, ensuring consistency and avoiding update errors.📚 References
🔬 Testing
Test passing ✅
📝 Checklist