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

feat(normalizeItemType): solution type normalization, normalizedType … #368

Merged
merged 1 commit into from
Sep 8, 2020

Conversation

drewdaemon
Copy link
Contributor

…in content

AFFECTS PACKAGES:
@esri/hub-common
@esri/hub-content

ISSUES CLOSED: #367, #366

…in content

AFFECTS PACKAGES:
@esri/hub-common
@esri/hub-content

ISSUES CLOSED: #367, #366
@drewdaemon drewdaemon requested review from tomwayson and removed request for tomwayson September 8, 2020 16:17
@drewdaemon drewdaemon merged commit 2a929b7 into master Sep 8, 2020
Copy link
Member

@tomwayson tomwayson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please make the change I've requested before releasing

@@ -29,6 +30,12 @@ export function getContent(
return Promise.reject(e);
});
}
return ret.then(content => applyNormalizedType(content));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be done in itemToContent(), not here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't that make it so that it's only attached when we're using the portal API?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nope, itemToContent() is called by datasetToContent() as well

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind. I see

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.

add normalizedType to content objects
3 participants