ory/ladon

Incorrect examples?

Closed this issue · 1 comments

As the examples suggest I am trying:

	accessRequest := &ladon.Request{
		Subject:  "max",
		Resource: "myrn:some.domain.com:resource:123",
		Action:   "update",
		Context: &ladon.Context{
			"some-arbitrary-key": "the-value-should-be-this",
		},
	}

However the compile complains for &ladon.Context saying that it should be ladon.Context. Am I doing something wrong? I can send a PR to fix the examples if that is the case.

Yeah it should be ladon.Context, feel free to PR :)