-
Notifications
You must be signed in to change notification settings - Fork 0
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
Legg til erstatningskey i melding for forespoersel-ID #772
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Endringene i denne filen vil vi beholde, unntatt bruken av shouldContainAllExcludingTempKey
.
): Map<Key, Any> = | ||
): Map<Key, JsonElement> = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Denne endringen vil vi beholde.
Key.FORESPOERSEL_ID to fail.forespoerselId?.toJson(), | ||
Key.FORESPOERSEL_ID to fail.forespoerselId.shouldNotBeNull().toJson(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Denne endringen vil vi beholde.
Testet OK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Dette er innsats for å strømlinjeforme formatet på meldingsnøklene våre, der vi i gamle dager kjørte en "gjør hva du vil"-policy.
Denne PR-en tar for seg verstingen
FORESPOERSEL_ID
, som har utstrakt bruk. Det legges til en ny key med nytt format i de meldingene der den gamle keyen er tilstede.Fordi vi har strenge tester (🥳) så tok jeg en snarvei for å ikke måtte manuelt endre en haug med tester. Snarveien besto av en
replace all
påshouldContainExactly
for å bytte med den mer tilgiveligeshouldContainAllExcludingTempKey
. Disse testendringene skal reverseres i neste PR.