Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

Add reified types as kotlin parser extensions  #295

Open

Description

@digitalbuddha

Currently the api for creating a middleware parser is clunky. When creating a parser one must pass both a generic of the type as well as a class token. With kotlin we can created a better version of the middleware parser factories which take advantage of reified types. This would allow a user to only have to pass a generic without needing to also need to pass in a Class

Activity

  1. bishiboosh commented on Mar 21, 2018

    @bishiboosh

    @digitalbuddha would this be through replacing the current middleware classes, or via new middleware-*-kotlin packages ?

  2. digitalbuddha commented on Mar 21, 2018

    @digitalbuddha
    ContributorAuthor

    Ideally new as to not be a breaking change

  3. bishiboosh commented on Mar 21, 2018

    @bishiboosh

    I'll try to see if I can do a PR for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions