Add note how to avoid compatibility issues between repos
It's pretty common to get into different errors while tidying or building `dapr/dapr` with local `dapr/components-contrib`. Usually checking out the latest released version helps. Signed-off-by: Tomasz Pietrek <tomasz@nats.io>
This commit is contained in:
parent
e383690286
commit
b9bdd67a73
|
|
@ -55,7 +55,8 @@ make lint
|
|||
## Validating with Dapr core
|
||||
|
||||
1. Make sure you clone the `dapr/dapr` and `dapr/components-contrib` repositories side-by-side, within the same folder.
|
||||
1. Replace `github.com/dapr/components-contrib` with a reference to the locally-cloned `components-contrib`:
|
||||
1. In case of compatibility issues between `dapr/dapr` and `dapr/compoments-contrib` `go.mod` files during build, checkout the latest released version of `dapr/dapr`.
|
||||
4. Replace `github.com/dapr/components-contrib` with a reference to the locally-cloned `components-contrib`:
|
||||
```bash
|
||||
go mod edit -replace github.com/dapr/components-contrib=../components-contrib
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue