Sindre Røkenes Myren

Results 30 issues of Sindre Røkenes Myren

Is it be possible to configure a language so that variable names takes precedence over functions? Use case: for a system that stores expressions, allow adding new functions to the...

Back-ported from https://github.com/searis/rest-layer Badges in README not updated.

Hooks have several problems and limitations compared to middleware: - We need two methods (before and after hooks) - We can't control the flow as detailed as we would want...

proposal

## Proposal overview Only some storage backends (such as MongoDB) would be able to really make the distinction between `null` and omitted values on top level fields. SQL storage backends...

proposal

Code: https://github.com/rs/rest-layer/blob/6d750641e521a8c7b284178f190f586356b76c7b/resource/index.go#L132 The ReferenceChecker does not get passed in a request-scoped context (or any context for that matter), which means that any _hooks_ that might run OnGet / OnGot for...

bug

It seams like an HTTP OPTIONS call will fetch resources if you do an OPTIONS call against a nested resource. E.g.: ``` http OPTIONS :8080/parents/123/children ``` Will result in a...

enhancement

EDIT: The orginal issue was to return a concrete type from NewIndex. The issue is now about differing between an IndexBuilder and a compiled Index which serve different usage patterns...

enhancement
proposal

UPDATED on 2018-09-05. Originally this was a question between the difference of the schema.Object FieldValidator and the Schema paramter on Field, and it evolved from there. # Background Today there...

enhancement

It might be a good thing to add support for [HTTP OPTIONS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/OPTIONS) requests. Another [source](http://zacstewart.com/2012/04/14/http-options-method.html) describes how you might use them in a more useful way for REST-ful APIs. These...

enhancement

UPDATED This ticket is now about extending `schema.Reference` support in the `schema/encoding/jsonschema` package when adding support for the [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) (a.k.a. the Swagger 2.0. specification). More specifically, schema.Reference fields should...

enhancement