Skip to content

Refactor marketplaces collection to readonly initializer#908

Closed
abuzuhri wants to merge 1 commit intomainfrom
codex/organize-_allmarketplaces-structure
Closed

Refactor marketplaces collection to readonly initializer#908
abuzuhri wants to merge 1 commit intomainfrom
codex/organize-_allmarketplaces-structure

Conversation

@abuzuhri
Copy link
Copy Markdown
Owner

Motivation

  • Simplify and make _allMarketplaces immutable by replacing the static constructor and mutable list with a concise readonly initializer.

Description

  • Replace the static constructor and List<MarketPlace> with private static readonly IReadOnlyList<MarketPlace> _allMarketplaces = new[] { ... } in Source/FikaAmazonAPI/Utils/MarketPlace.cs while preserving region grouping and marketplace entries.

Testing

  • No automated tests were run.

Codex Task

@abuzuhri abuzuhri closed this Jan 17, 2026
@abuzuhri abuzuhri deleted the codex/organize-_allmarketplaces-structure branch February 23, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant