Skip to content

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

Merged
abhishekkumams merged 2 commits intomainfrom
dev/seantleonard/cosmos0.8.52portmain
Sep 25, 2023
Merged

[Cherrypick] Fix setting cosmos configuration at runtime by checking whether the graphql schema is set#1743
abhishekkumams merged 2 commits intomainfrom
dev/seantleonard/cosmos0.8.52portmain

Conversation

@seantleonard
Copy link
Copy Markdown
Contributor

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?

  • 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.

…raphql schema is set (#1739)

## 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.
@abhishekkumams abhishekkumams merged commit 51adeb2 into main Sep 25, 2023
@abhishekkumams abhishekkumams deleted the dev/seantleonard/cosmos0.8.52portmain branch September 25, 2023 04:52
seantleonard added a commit that referenced this pull request Sep 25, 2023
…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]>
@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.

5 participants