Skip to content

[Cherrypick] Fix setting cosmos configuration at runtime by checking whether the graphql schema is set#1746

Merged
Aniruddh25 merged 1 commit intorelease/0.9from
dev/seantleonard/cosmos08patch
Sep 26, 2023
Merged

[Cherrypick] Fix setting cosmos configuration at runtime by checking whether the graphql schema is set#1746
Aniruddh25 merged 1 commit intorelease/0.9from
dev/seantleonard/cosmos08patch

Conversation

@seantleonard
Copy link
Copy Markdown
Contributor

Context

Cherry-picking #1739 from main to release/0.9 which includes the merge conflicts resolved for merging into main. Remainder of description copied from #1739 PR description.

Why make this change?

Failing to set the configuration at runtime if there is not "schema" file set in the config. This is not required when setting the config at runtime since the graphql schema is set already.

How was this tested?

  • Validated locally
  • Updated the tests so the schema property is removed from the config. Verified that the tests were failing before the fix and passing after.

…whether the graphql schema is set (#1743)

## Context
Cherry-picking #1739 from `release/0.8` to main and also resolved merge
conflicts. Remainder of description copied from #1739 PR description.

## Why make this change?
Failing to set the configuration at runtime if there is not "schema"
file set in the config. This is not required when setting the config at
runtime since the graphql schema is set already.

## How was this tested?

- [x] Validated locally
- [x] Updated the tests so the schema property is removed from the
config. Verified that the tests were failing before the fix and passing
after.

Co-authored-by: Mathieu Tremblay <[email protected]>
Co-authored-by: Aniruddh Munde <[email protected]>
@Aniruddh25 Aniruddh25 merged commit 73a02dc into release/0.9 Sep 26, 2023
@Aniruddh25 Aniruddh25 deleted the dev/seantleonard/cosmos08patch branch September 26, 2023 01:57
@seantleonard seantleonard added the 🍒Cherrypick Cherry-picking another commit/PR label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🍒Cherrypick Cherry-picking another commit/PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants