Skip to content

feat(apify): Small improvements to the run Actor action - #14

Merged
matyascimbulka merged 3 commits into
developfrom
feat/improve-run-actor-action
Oct 13, 2025
Merged

feat(apify): Small improvements to the run Actor action #14
matyascimbulka merged 3 commits into
developfrom
feat/improve-run-actor-action

Conversation

@matyascimbulka

Copy link
Copy Markdown
Collaborator

Links to https://github.com/apify/integrations-team/issues/25.

The goal of this PR was to implement support for the new schemaBasesd editor in input schema. However, Pipedream doesn't offer any nested object creation or validation that can utilize this added information.

Therefore I have only fixed up some small issues that I have found while investigating potential solutions.

@@ -210,12 +216,16 @@ export default {
const defaultValue = value.prefill ?? value.default;

if (defaultValue !== undefined) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be wrong, but I think we have a similiar problem as we had in n8n in this PR with the prefill/default inputs, see docs.

Here the situation is a little different as the input form is dynamically generated so I would leave the prefill, but the default value might be useless as its automatically added by Apify API. What do you think @drobnikj?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, since the default values will be automatically added by the platform we don't have to show them. And I think that showing the prefill in the input props is nice QoL feature for our users.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree 👍

if (options) props[key].options = options;

const defaultValue = value.prefill ?? value.default;
const defaultValue = value.prefill;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we comment here why we using prefill as default value?
It could be confusing for other devs.

@@ -210,12 +216,16 @@ export default {
const defaultValue = value.prefill ?? value.default;

if (defaultValue !== undefined) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree 👍

@matyascimbulka
matyascimbulka merged commit 02dba99 into develop Oct 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants