Cosmos Gremlin
Description
Important concepts
Configuration in DI
public static class OtherApplicationServicesConfig
{
public static IServiceCollection AddOtherApplicationServices(
this IServiceCollection services,
IConfiguration configuration)
{
// Registers Cosmos Gremlin as the IFlexGraphStore bridge.
// Flex auto-wires generated Queries/Handlers that use IFlexGraphStore.
services.AddFlexCosmosGremlinGraphStore(configuration);
return services;
}
}appsettings.json
Examples (template-based)
Create node (PostBusHandler)
Get node by ID (Query)
Library-specific considerations
Last updated