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: Fixes culture properties on content #147

Merged
merged 10 commits into from
May 20, 2023
Merged

Conversation

nikcio
Copy link
Owner

@nikcio nikcio commented May 16, 2023

BREAKING CHANGE:

Introduces IVariationContextAccessor to the contructor on BasicContent

Media & Members have had culture removed from the query options. It's not possible to create media and members on different cultures and it's therefore not necessary to be able to query for it.

Content & Property queries have had segment & Fallback added to the query options to better support culture querying.

All GetValue for property values have been changed to Value which better support culture variants.

Related to #145

BREAKING CHANGE:

Introduces `IVariationContextAccessor` to the contructor on `BasicContent`

Related to #145
BREAKING CHANGE:

Media & Members have had culture removed from the query options. It's not possible to create media and members on different cultures and it's therefore not necessary to be able to query for it.

Content & Property queries have had `segment` & `Fallback` added to the query options to better support culture querying.

All `GetValue` for property values have been changed to `Value` which better support culture variants.
@sonarcloud
Copy link

sonarcloud bot commented May 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 10 Code Smells

52.0% 52.0% Coverage
0.5% 0.5% Duplication

@nikcio nikcio marked this pull request as ready for review May 20, 2023 09:53
@nikcio nikcio merged commit 7c79dfb into v4/contrib May 20, 2023
5 checks passed
@nikcio nikcio deleted the fix/culture-fetching branch May 20, 2023 09:55
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.

None yet

1 participant