This pr adds a check to validate if a proper architecture is defined when the layer is being added. If an invalid architecture is specified an error is given to the user that it's invalid with a readout of the architecture they tried using.
Motivation
An escalation came through where a customer was confused why their code wasn't being deployed. it turned out they had mapping in place to substitute the architecture against their own non-standard versions. this mapping didn't work so the runtime value was becoming set as undefined
Testing Guidelines
I tested the code block in chrome's dev tools to test functionality ensuring no syntax errors.
What does this PR do?
This pr adds a check to validate if a proper architecture is defined when the layer is being added. If an invalid architecture is specified an error is given to the user that it's invalid with a readout of the architecture they tried using.
Motivation
An escalation came through where a customer was confused why their code wasn't being deployed. it turned out they had mapping in place to substitute the architecture against their own non-standard versions. this mapping didn't work so the runtime value was becoming set as undefined
Testing Guidelines
I tested the code block in chrome's dev tools to test functionality ensuring no syntax errors.
Additional Notes
N/A
Types of changes
Check all that apply