Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added some code snipets that I needed while implementing dapr support #210

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nmalocic
Copy link

@nmalocic nmalocic commented Sep 9, 2024

No description provided.

Copy link
Member

@ayende ayende left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you explain what is the purpose here?
Those looks like sample snippets related to your own environment.
What is the scenario where others would like to go through those?

Comment on lines +59 to +60
cerPath := "/Users/nemanjamalocic/projects/RavenDB/ravendb-go-client/more-examples/PEM/free.nemanja.client.certificate.crt"
keyPath := "/Users/nemanjamalocic/projects/RavenDB/ravendb-go-client/more-examples/PEM/free.nemanja.client.certificate.key"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot accept with those sort of constants. Needs to be useful for someone else, and this may cause confusion for users

dbName = "TestDapr"
serverNodeURL = "http://127.0.0.1:8080"

secureNodeURL = "https://a.free.nemanja.ravendb.cloud/"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fail for anyone else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants