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

Add Operator to Read the Newest Version of an Object #746

Open
wants to merge 7 commits into
base: 1.x
Choose a base branch
from

Conversation

cancan101
Copy link
Contributor

@cancan101 cancan101 commented Nov 13, 2024

Based on Alias Operator

Can be used to solve pimcore/pimcore#5322

CC @fashxp

Guided by: https://github.com/orgs/pimcore/discussions/17056
We pass false, per pimcore/pimcore#17059 as we already have object if published and can avoid a disk access.

Will be further improved with: pimcore/pimcore#17728 and pimcore/pimcore#17729 (and more so if Delegate is used)

The first row has a draft version:
image
Grid Options using the new operator:
image

@robertSt7
Copy link
Contributor

@cancan101 Could you please use const and let instead of var? Thanks

@cancan101
Copy link
Contributor Author

done

Copy link

sonarcloud bot commented Nov 25, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
1 New Major Issues (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@cancan101
Copy link
Contributor Author

I can't see what sonarcloud is reporting without logging in to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants