Repository navigation
Conversation
SaveLinkInput.name is required by scraper-api. The auto-linker's result spreads a previous entry that may never have carried animeTitle, so the mutation sent name as undefined, which JSON drops, and the save failed with "Field name of required type String! was not provided". The name now comes from the loaded anime list first, then the result's titles, on the single, bulk and manual save paths; an empty name fails before the request with a message that says which anime. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Contributor
Author
|
Closing: the failure was a signed-out session, not the client; the server-side error message just happened to match. The name fallback is not needed. |
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.
What
Saving a TheTVDB link from the seasonal-linking view failed with:
mutateSaveLinkalready takes aname, but the auto-linker's result entry spreadsprev[anime.id], which may never have carriedanimeTitle, sonamewasundefined, JSON dropped the key, and scraper-api rejected the input.nameFor(animeId): the loaded anime list first, then the result's own titles, then the TheTVDB title for a manual link.mutateSaveLinkrefuses an empty name before the request, with the anime id in the message, instead of the schema error.Checked
yarn build(tsc + vite) passes. No unit test setup exists in this repo.🤖 Generated with Claude Code