victorious-dream-46349
11/16/2021, 11:03 AMminiature-tiger-96062
11/17/2021, 3:29 AMentity.graphql file inside datahub-graphql-core to include the new GraphQL Schema Types for your new Aspect (manually). Each Metadata Entity has its own top-level GraphQL Type (e.g. Dataset, Chart, Dashboard..). Aspects are optional fields associated with these entities.
2. Run ./gradlew datahub-graphql-core:build to generate strongly typed Java objects corresponding to schemas in Step 1.
3. Edit <Entity>SnapshotMapper.java to provide a mapping from the Metadata Service Models to the GraphQL Model defined in Step 1. For example, see DatasetSnapshotMapper.java.
4. Build and deploy metadata-service again: ./gradlew metadata-service:war:build and then dev.shvictorious-dream-46349
11/17/2021, 1:26 PMvictorious-dream-46349
11/17/2021, 1:34 PMbrowse method and registered it GmsGraphQLEngine in line: https://github.com/linkedin/datahub/blob/master/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/GmsGraphQLEngine.java#L242 . When we click on browser, it is making this browse call, but the value is empty array. Do we need to configure extra for browse feature ?
Also, what is the role of these files https://github.com/linkedin/datahub/tree/master/metadata-service/restli-api/src/main/idl ? We have not modified it.