Closed nohaapav closed 1 year ago
Latest commit: 8ec274785dd4c31500529ad71a393aebeebcdf40
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@ekenigs Hi so PR has landed :)
I've created MutableConfigService
that should cover basic user needs:
updateAssets(asset: Asset): void
- Create new or update existing assetupdateChains(chain: AnyChain): void
- Create new or update existing chainupdateChain(chain: AnyChain, chainDelta: Partial<AnyChain>): void
- Update existing chain with deltaupdateChainConfig(chainConfig: ChainConfig): void
- Create new or update existing chain configupdateAssetConfig(chain: AnyChain, assetConfig: AssetConfig): void
- Create new or update existing chain asset configCurrent config builder utils were moved to ConfigService which acts as fallback/default for ConfigBuilder
unless user specify otherwise.
@nohaapav Hey, thanks for the PR. I hope that I will have some time next week to review it.
@nohaapav Hey, thanks for the PR. I hope that I will have some time next week to review it.
No worries, i've published custom @org/xcm-sdk & @org/xcm-config packages so it's not a blocker for me :) ..
@nohaapav Hey, thanks for the PR. I hope that I will have some time next week to review it.
@ekenigs Just pls let me know if it make sense to get PR merged in reasonable time in general. I can just update custom fork with fixes, it consumes less of my time as well. I know u are busy, so am i so let's find win win scenario here :)
@nohaapav Hey, thanks for the PR. I hope that I will have some time next week to review it.
@ekenigs Just pls let me know if it make sense to get PR merged in reasonable time in general. I can just update custom fork with fixes, it consumes less of my time as well. I know u are busy, so am i so let's find win win scenario here :)
@nohaapav Unfortunately, your timing coincided with a particularly busy period for us, as we're in the final stages of a new project. Due to this, I might not be able to review your PR immediately, but I'll do my best to take a look at it by tomorrow.
Description
Introducing ConfigService / IConfigService to allow seamless custom xcm registry configuration, with default fallback to static, existing one. For details visit here
Checklist