mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-02 11:49:23 +00:00
fix(graphql): populating deprecated description field (#3403)
This commit is contained in:
parent
893914d198
commit
a325f64288
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user