Create AI DataTypeConverter for complex data types
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3512100. -->
Reported by: [michaellander](https://www.drupal.org/user/636494)
Related to !512
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>We need a means to upcast AI parameters(e.g. node:1:fr, user:3, etc) to the expected data types dynamically when setting Context values on FunctionCall instances. We decided to change this from a ContextConverter to a more general DataType converter as it could have use cases outside of Context and wasn't really using anything from the Context definition during processing.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-api-changes">API changes</h3>
issue