Skip to content

Commit

Permalink
fix (Mapping): fixes a bug where map defs were not mapping to base co…
Browse files Browse the repository at this point in the history
…ntract
  • Loading branch information
jamiepollock committed Mar 1, 2024
1 parent fb30b23 commit 206dbe9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public virtual void DefineMaps(IUmbracoMapper mapper)
mapper.Define<BlockGridItem<TBlockContent>, IComponent?>(Map);

mapper.Define<BlockListItem<TBlockContent>, TComponent?>(Map);
mapper.Define<BlockListItem<TBlockContent>, TComponent?>(Map);
mapper.Define<BlockListItem<TBlockContent>, IComponent?>(Map);
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public virtual void DefineMaps(IUmbracoMapper mapper)
mapper.Define<BlockGridItem<TBlockContent>, IImage?>(Map);

mapper.Define<BlockListItem<TBlockContent>, TImage?>(Map);
mapper.Define<BlockListItem<TBlockContent>, TImage?>(Map);
mapper.Define<BlockListItem<TBlockContent>, IImage?>(Map);
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public virtual void DefineMaps(IUmbracoMapper mapper)
mapper.Define<BlockGridItem<TBlockContent>, ILink?>(Map);

mapper.Define<BlockListItem<TBlockContent>, TLink?>(Map);
mapper.Define<BlockListItem<TBlockContent>, TLink?>(Map);
mapper.Define<BlockListItem<TBlockContent>, ILink?>(Map);
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public virtual void DefineMaps(IUmbracoMapper mapper)
mapper.Define<BlockGridItem<TBlockContent>, IModal?>(Map);

mapper.Define<BlockListItem<TBlockContent>, TModal?>(Map);
mapper.Define<BlockListItem<TBlockContent>, TModal?>(Map);
mapper.Define<BlockListItem<TBlockContent>, IModal?>(Map);
}

/// <summary>
Expand Down

0 comments on commit 206dbe9

Please sign in to comment.