Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Updated mock function descriptor handling #3150

Merged
merged 2 commits into from
Jul 25, 2023

Conversation

BobaFetters
Copy link
Member

-Updated mock function descriptor handling to check for entity vs scalars (scalar, custom scalar, enum) lists to check for proper function descriptor
-Also checks nested lists
-Updated test to include cases for these

Closes #3130

-Updated mock function descriptor handling to check for entity vs scalars (scalar, custom scalar, enum) lists to check for proper function descriptor
-Also checks nested lists
-Updated test to include cases for these
@BobaFetters BobaFetters self-assigned this Jul 24, 2023
@netlify
Copy link

netlify bot commented Jul 24, 2023

Deploy Preview for apollo-ios-docs canceled.

Name Link
🔨 Latest commit 9b6236d
🔍 Latest deploy log https://app.netlify.com/sites/apollo-ios-docs/deploys/64bfc9e847e875000819630a

@BobaFetters
Copy link
Member Author

Failing tests in this PR are fixed by #3135

Copy link
Contributor

@AnthonyMDev AnthonyMDev left a comment

Choose a reason for hiding this comment

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

Minor nit but thanks for the fix!

# Conflicts:
#	Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetails.graphql.swift
#	Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/ClassroomPetDetailsCCN.graphql.swift
#	Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/DogFragment.graphql.swift
#	Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/HeightInMeters.graphql.swift
#	Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/PetDetails.graphql.swift
#	Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/Fragments/WarmBloodedDetails.graphql.swift
#	Sources/AnimalKingdomAPI/AnimalKingdomAPI/Sources/LocalCacheMutations/PetDetailsMutation.graphql.swift
#	Sources/GitHubAPI/GitHubAPI/Sources/Fragments/AuthorDetails.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterAppearsIn.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterName.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsIn.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndAppearsInWithNestedFragments.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidAppearsIn.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameAndDroidPrimaryFunction.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithInlineFragment.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/CharacterNameWithNestedAppearsInFragment.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidDetails.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidName.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidNameAndPrimaryFunction.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/DroidPrimaryFunction.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/FriendsNames.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HeroDetails.graphql.swift
#	Sources/StarWarsAPI/StarWarsAPI/Sources/Fragments/HumanHeightWithVariable.graphql.swift
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.

apollo-ios-cli mock code generation fails for string arrays
3 participants