Error while using github.com/brocaar/chirpstack-network-server/api

Hi,

I know all the api dependency have been moved to GitHub - brocaar/chirpstack-api: ChirpStack API (Protobuf & gRPC) , but if so why does the network-server still have its /api folder?

I made changes inside the https://github.com/brocaar/chirpstack-network-server/tree/master/api/ns .proto files and I got the error,

internal/storage/device_session.go:695:23: cannot use &“github.com/brocaar/chirpstack-api/go/common”.KeyEnvelope literal (type *“github.com/brocaar/chirpstack-api/go/common”.KeyEnvelope) as type *“github.com/brocaar/chirpstack-network-server/api/common”.KeyEnvelope in assignment
Makefile:6: recipe for target ‘build’ failed
make: *** [build] Error 2

This clearly shows that it is importing github.com/brocaar/chirpstack-api/go/ , so I made changes inside github.com/brocaar/chirpstack-api/go/ .proto files and ran the command make clean build, again
I got the same error as mentioned above.
So how do I make changes inside the network-server api and compile the code, without getting this error?