Skip to content
This repository was archived by the owner on Feb 10, 2024. It is now read-only.

Call the model factory to support typed models when used. #79

Merged
merged 1 commit into from
Aug 29, 2017
Merged

Call the model factory to support typed models when used. #79

merged 1 commit into from
Aug 29, 2017

Conversation

tomvanenckevort
Copy link

The latest release of Nested Content (v0.5.0) now includes code that will try and convert the DetachedPublishedContent object to its relevant ModelsBuilder class (when used).
I thought it would be useful to port that same fix to DTGE as well. This then allows the grid partial views to work directly with the generated ModelsBuilder classes and therefore should fix the issue raised in #44.

I've tried this fix locally with a few sites using DTGE and it works very well.

Full credits for this should be for @Ron-Brouwer who did the original PR for Nested Content. 👍
I just ported his code over to DTGE.

@leekelleher
Copy link
Collaborator

Hi @tomvanenckevort, thanks for the PR!

Can you re-target it against the "develop" branch please? Thanks.
(I'll merge it in then - otherwise merging with "master" causes a headache for our release workflow)

@tomvanenckevort tomvanenckevort changed the base branch from master to develop August 29, 2017 09:18
@tomvanenckevort
Copy link
Author

Hi @leekelleher, I've changed the target branch to "develop" now.

@leekelleher leekelleher merged commit 809e6fb into skttl:develop Aug 29, 2017
@leekelleher
Copy link
Collaborator

awesome, thanks @tomvanenckevort!

@leekelleher leekelleher added this to the 0.5.0 milestone Aug 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants