Documentation
¶
Overview ¶
package tenant implements different tenant GraphQL query resovlers required by the GraphQL transport layer
package tenant implements different tenant GraphQL query resovlers required by the GraphQL transport layer
package tenant implements different tenant GraphQL query resovlers required by the GraphQL transport layer
Index ¶
- func NewTenantResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (tenant.TenantResolverContract, error)
- func NewTenantTypeConnectionResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract) (tenant.TenantTypeConnectionResolverContract, error)
- func NewTenantTypeEdgeResolver(ctx context.Context, resolverCreator types.ResolverCreatorContract, ...) (tenant.TenantTypeEdgeResolverContract, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTenantResolver ¶
func NewTenantResolver( ctx context.Context, resolverCreator types.ResolverCreatorContract, logger *zap.Logger, configurationService configuration.ConfigurationContract, tenantID graphql.ID) (tenant.TenantResolverContract, error)
NewTenantResolver creates new instance of the tenantResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers logger: Mandatory. Reference to the logger service tenantID: Mandatory. the tenant unique identifier Returns the new instance or error if something goes wrong
func NewTenantTypeConnectionResolver ¶
func NewTenantTypeConnectionResolver( ctx context.Context, resolverCreator types.ResolverCreatorContract) (tenant.TenantTypeConnectionResolverContract, error)
NewTenantTypeConnectionResolver creates new instance of the tenantTypeConnectionResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers tenantID: Mandatory. the tenant unique identifier cursor: Mandatory. the cursor Returns the new instance or error if something goes wrong
func NewTenantTypeEdgeResolver ¶
func NewTenantTypeEdgeResolver( ctx context.Context, resolverCreator types.ResolverCreatorContract, tenantID graphql.ID, cursor string) (tenant.TenantTypeEdgeResolverContract, error)
NewTenantTypeEdgeResolver creates new instance of the tenantTypeEdgeResolver, setting up all dependencies and returns the instance ctx: Mandatory. Reference to the context resolverCreator: Mandatory. Reference to the resolver creator service that can create new instances of resolvers tenantID: Mandatory. the tenant unique identifier cursor: Mandatory. the cursor Returns the new instance or error if something goes wrong
Types ¶
This section is empty.