Skip to content

Commit

Permalink
Merge pull request #34 from james-milligan/schema-readme
Browse files Browse the repository at this point in the history
docs: Buf schema registry readme
  • Loading branch information
james-milligan authored Oct 21, 2022
2 parents 615f811 + 31b6761 commit de7cb5b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions protobuf/buf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Flagd build spec

## This repository is managed by OpenFeature

This module contains the core types that developers can use for interacting with [flagd](https://github.com/open-feature/flagd).

Internally flagd uses the connect protocol, meaning it is compatible with grpc interfaces. If your desired language has a supported plugin for generating connect stubs then it is reccomended to use these over grpc.

The package contains a single `Service`, describing the 5 core `rpcs` for feature flag evaluation (`ResolveBoolean`, `ResolveString`, `ResolveFloat`, `ResolveInt` and `ResolveObject`) each with their type specific request and response objects(`ResolveXXXRequest` and `ResolveXXXResponse`).
The final `rpc` on the `Service` is a streamed response named `EventStream`, this is used to pass internal events to the client, such as `configuration_change` and `provider_ready`.

## Build options

The core definitions are in the `schema.v1` package, and contains package name options for the following languages, as such these options may be excluded from build instructions:

- Go: schema/service/v1
- Java: dev.openfeature.flagd.grpc
- C#: OpenFeature.Flagd.Grpc

0 comments on commit de7cb5b

Please sign in to comment.