fix: add all sourcelayer properties to type conversion functions#1787
fix: add all sourcelayer properties to type conversion functions#1787imaretic wants to merge 3 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
WalkthroughThe ChangesAPISourceLayer Field Expansion
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |

About the Contributor
This PR is posted on behalf of EVS Broadcast Equipment.
Type of Contribution
This is a: Bug fix
Current Behavior
The REST API v1
sourceLayerFrom()andAPISourceLayerFrom()type conversion functions were incomplete. When converting between the internalISourceLayertype and the REST API'sAPISourceLayertype, some source layer properties were silently dropped.This meant:
New Behavior
Both conversion functions (
sourceLayerFromandAPISourceLayerFrom) now map all the missing source layer properties betweenISourceLayerandAPISourceLayer. TheAPISourceLayerinterface has also been extended with these optional fields so the REST API contract correctly reflects the full source layer configuration.Testing
Affected areas
This PR affects the REST API v1 Show Style endpoints, specifically the source layer create/update/read operations.
Any consumer using the REST API to manage source layers on a Show Style Base will now correctly read and write all source layer properties that were previously silently ignored.
Time Frame
Not urgent.
Status