Page MenuHomePhabricator

DefaultView: Creating a function call with inputs of custom built types doesn't create the types correctly
Closed, ResolvedPublicBUG REPORT

Description

Description

When creating a function call in Default View (e.g. Evaluator widget) or creating an instance of a particular type, the UI builds the fields for the required inputs or keys. However, when these are of unknown types, the UI is built half way. See demo below:

https://www.loom.com/share/211de75a0abb4b628b6cbe2e3c114c27

This means that when we are fetching the information of a function or a type, we need also the information of the types of their arguments and keys, recursively.

We will solve this by adding a flag 'wikilambdaload_get_dependencies' to the 'wikilambdaload_zobject' that will return recursively all the type dependencies of functions and types.


Completion checklist

Event Timeline

gengh created this task.

Change 936328 had a related patch set uploaded (by Genoveva Galarza; author: Genoveva Galarza):

[mediawiki/extensions/WikiLambda@master] Add get_dependencies flag to wikilambdaload_zobject API

https://gerrit.wikimedia.org/r/936328

Change 936328 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Add get_dependencies flag to wikilambdaload_zobject API

https://gerrit.wikimedia.org/r/936328

DVrandecic subscribed.

Thank you! That's was a big blocker