fix: rename deprecated input/output to inputSchema/outputSchema in actor.json (closes #820)#822
Open
DaveHanns wants to merge 1 commit into
Open
fix: rename deprecated input/output to inputSchema/outputSchema in actor.json (closes #820)#822DaveHanns wants to merge 1 commit into
DaveHanns wants to merge 1 commit into
Conversation
…utputSchema` in actor.json Closes #820. Running `apify create` currently generates `.actor/actor.json` files that use the deprecated fields `input` / `output` instead of the canonical `inputSchema` / `outputSchema` (per the actor.json spec). Mechanical rename across all template `actor.json` files. Both inline schema objects and file path references (`./input_schema.json` / `./output_schema.json`) are renamed identically. Affected: 36 of 43 templates. 7 templates (those with no `input`/`output` keys) are untouched.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #820.
Template
.actor/actor.jsonfiles use the deprecated fieldsinput/outputinstead of the canonicalinputSchema/outputSchema. This PR migrates all templateactor.jsonfiles to the canonical names.Risk
Backwards-compatibility: if
apify-clior the schema validator still expectsinput/outputas fallback names, users on older CLI versions may encounter validation failures.