Skip to content
Snippets Groups Projects
Commit 41253f9c authored by Kristiyan Kostadinov's avatar Kristiyan Kostadinov Committed by Jessica Janiuk
Browse files

fix(compiler): inputs/outputs incorrectly parsed in jit mode (#46813)

The `Directive` and `Component` decorators support `inputs` and `outputs` fields which accept an array in the format of `"someInput"` or `"someInput: someAlias"`, however the parsing during JIT compilation was splitting on commas, not on colons, which resulted in incorrect parsing. E.g. `inputs: ["someInput: someAlias"]` was being parsed into `{"someInput: someAlias": "someInput: someAlias"}` instead of `{someInput: "someAlias"}`.

The feature was working by accident, because there's some logic further down in the compiler pipeline that was splitting the strings again.

PR Close #46813
parent 89edfe76
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment