Skip to content

PR #976 + Update + Fix mapping NonNullable ValueType to NullableValueType #986

Merged
DocSvartz merged 4 commits into
developmentfrom
pr976
Jun 22, 2026
Merged

PR #976 + Update + Fix mapping NonNullable ValueType to NullableValueType #986
DocSvartz merged 4 commits into
developmentfrom
pr976

Conversation

@DocSvartz

Copy link
Copy Markdown
Contributor

No description provided.

When AllowImplicitDestinationInheritance merges a base MapWith converter
into a derived destination mapping, downcast the converter result so
Adapt<TDerived>() no longer throws InvalidCastException.

Co-authored-by: Cursor <cursoragent@cursor.com>
@DocSvartz DocSvartz changed the title Pr976 + update PR #976 + update Jun 18, 2026
… using only ValueType to ValueType custom settings
@DocSvartz DocSvartz changed the title PR #976 + update PR #976 + Update + Fix mapping NonNullable ValueType to NullableValueType Jun 19, 2026
@DocSvartz DocSvartz merged commit 129e760 into development Jun 22, 2026
3 checks passed
@DocSvartz DocSvartz deleted the pr976 branch June 22, 2026 08:42
This was referenced Jun 29, 2026
sondresjolyst pushed a commit to sondresjolyst/nstuning-api that referenced this pull request Jul 5, 2026
… 10.0.9 (#59)

Updated [Mapster](https://github.com/MapsterMapper/Mapster) from 10.0.8
to 10.0.9.

<details>
<summary>Release notes</summary>

_Sourced from [Mapster's
releases](https://github.com/MapsterMapper/Mapster/releases)._

## 10.0.9

## What's Changed
* test: ensure Compile skips open generic mapping rules (#​925) by
@​wyf027 in MapsterMapper/Mapster#965
* fix: ProjectToType nullable navigation to record DTO ctor (#​898) by
@​wyf027 in MapsterMapper/Mapster#971
* fix: support CompileProjection with Include on abstract types (#​801)
by @​wyf027 in MapsterMapper/Mapster#977
* PR #​976 + Update + Fix mapping NonNullable ValueType to
NullableValueType by @​wyf027 and @​DocSvartz in
MapsterMapper/Mapster#986
* fix: cast inherited MapWith results to derived destinations (#​947) by
@​wyf027 in MapsterMapper/Mapster#976
* fix: drop null check by @​DocSvartz in
MapsterMapper/Mapster#989
* Fix dependency for Mapster.EFCore TFM Net 8.0 by @​DocSvartz in
MapsterMapper/Mapster#988


**Full Changelog**:
MapsterMapper/Mapster@v10.0.8...v10.0.9

Commits viewable in [compare
view](MapsterMapper/Mapster@v10.0.8...v10.0.9).
</details>

Updated
[Mapster.DependencyInjection](https://github.com/MapsterMapper/Mapster)
from 10.0.8 to 10.0.9.

<details>
<summary>Release notes</summary>

_Sourced from [Mapster.DependencyInjection's
releases](https://github.com/MapsterMapper/Mapster/releases)._

## 10.0.9

## What's Changed
* test: ensure Compile skips open generic mapping rules (#​925) by
@​wyf027 in MapsterMapper/Mapster#965
* fix: ProjectToType nullable navigation to record DTO ctor (#​898) by
@​wyf027 in MapsterMapper/Mapster#971
* fix: support CompileProjection with Include on abstract types (#​801)
by @​wyf027 in MapsterMapper/Mapster#977
* PR #​976 + Update + Fix mapping NonNullable ValueType to
NullableValueType by @​wyf027 and @​DocSvartz in
MapsterMapper/Mapster#986
* fix: cast inherited MapWith results to derived destinations (#​947) by
@​wyf027 in MapsterMapper/Mapster#976
* fix: drop null check by @​DocSvartz in
MapsterMapper/Mapster#989
* Fix dependency for Mapster.EFCore TFM Net 8.0 by @​DocSvartz in
MapsterMapper/Mapster#988


**Full Changelog**:
MapsterMapper/Mapster@v10.0.8...v10.0.9

Commits viewable in [compare
view](MapsterMapper/Mapster@v10.0.8...v10.0.9).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
sondresjolyst pushed a commit to sondresjolyst/garge-api that referenced this pull request Jul 6, 2026
… 10.0.9 (#334)

Updated [Mapster](https://github.com/MapsterMapper/Mapster) from 10.0.8
to 10.0.9.

<details>
<summary>Release notes</summary>

_Sourced from [Mapster's
releases](https://github.com/MapsterMapper/Mapster/releases)._

## 10.0.9

## What's Changed
* test: ensure Compile skips open generic mapping rules (#​925) by
@​wyf027 in MapsterMapper/Mapster#965
* fix: ProjectToType nullable navigation to record DTO ctor (#​898) by
@​wyf027 in MapsterMapper/Mapster#971
* fix: support CompileProjection with Include on abstract types (#​801)
by @​wyf027 in MapsterMapper/Mapster#977
* PR #​976 + Update + Fix mapping NonNullable ValueType to
NullableValueType by @​wyf027 and @​DocSvartz in
MapsterMapper/Mapster#986
* fix: cast inherited MapWith results to derived destinations (#​947) by
@​wyf027 in MapsterMapper/Mapster#976
* fix: drop null check by @​DocSvartz in
MapsterMapper/Mapster#989
* Fix dependency for Mapster.EFCore TFM Net 8.0 by @​DocSvartz in
MapsterMapper/Mapster#988


**Full Changelog**:
MapsterMapper/Mapster@v10.0.8...v10.0.9

Commits viewable in [compare
view](MapsterMapper/Mapster@v10.0.8...v10.0.9).
</details>

Updated
[Mapster.DependencyInjection](https://github.com/MapsterMapper/Mapster)
from 10.0.8 to 10.0.9.

<details>
<summary>Release notes</summary>

_Sourced from [Mapster.DependencyInjection's
releases](https://github.com/MapsterMapper/Mapster/releases)._

## 10.0.9

## What's Changed
* test: ensure Compile skips open generic mapping rules (#​925) by
@​wyf027 in MapsterMapper/Mapster#965
* fix: ProjectToType nullable navigation to record DTO ctor (#​898) by
@​wyf027 in MapsterMapper/Mapster#971
* fix: support CompileProjection with Include on abstract types (#​801)
by @​wyf027 in MapsterMapper/Mapster#977
* PR #​976 + Update + Fix mapping NonNullable ValueType to
NullableValueType by @​wyf027 and @​DocSvartz in
MapsterMapper/Mapster#986
* fix: cast inherited MapWith results to derived destinations (#​947) by
@​wyf027 in MapsterMapper/Mapster#976
* fix: drop null check by @​DocSvartz in
MapsterMapper/Mapster#989
* Fix dependency for Mapster.EFCore TFM Net 8.0 by @​DocSvartz in
MapsterMapper/Mapster#988


**Full Changelog**:
MapsterMapper/Mapster@v10.0.8...v10.0.9

Commits viewable in [compare
view](MapsterMapper/Mapster@v10.0.8...v10.0.9).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.

Mapping fails when source type is nullable and source selector contains ternary conditional since 10.0.7

2 participants