fix(graphql): populating deprecated description field (#3403)

This commit is contained in:
John Joyce 2021-10-14 11:51:29 -07:00 committed by GitHub
parent 893914d198
commit a325f64288
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,7 @@ public class DatasetSnapshotMapper implements ModelMapper<DatasetSnapshot, Datas
properties.setCustomProperties(StringMapMapper.map(gmsProperties.getCustomProperties()));
}
result.setProperties(properties);
result.setDescription(properties.getDescription());
if (gmsProperties.hasUri()) {
// Deprecated field.
result.setUri(gmsProperties.getUri().toString());