Skip to content

Advanced View, but with user-defined keys #14

Description

@allthesignals

First of all, I love this gem — amazing that it just works perfectly.

Perhaps I'm misunderstanding the documentation, but is there a way to use advanced view but allow for custom key objects?

For example:

      "user_defined_key_here": {  
        table: "2018",
        sources: [
          {name: "lcgms", version: '2018-12-19', minYear: 2018, maxYear: 2019},
          {name: "bluebook", minYear: 2017, maxYear: 2018}
        ]
      },

With advanced view, I find it can enforce an up-front structure of the JSON schema. Is this possible? For now, I can just use the jsoneditor, but I find your advanced view to be much simpler.

That said, this may be a sign that I need to use some other kinds of objects in Rails (read: models), but this is great for now.

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