Giter VIP home page Giter VIP logo

schema-cartographer-cloud's People

Contributors

jarrodctaylor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

joshkh

schema-cartographer-cloud's Issues

NPE in `schema-cartographer.explorer/reduce-enumeration-references-namespaces`

In references-enumeration-namespaces-cardinality-many the code appears to assume that all attr-query-results have a :db/ident attribute. That is not necessarily the case and it results in an NPE later in reduce-enumeration-references-namespaces when calling namespace against nil.

Here is the truncated stacktrace:

                  core.clj: 1618  clojure.core/namespace
                  core.clj: 1612  clojure.core/namespace
                      REPL:   38  schema-cartographer.explorer/eval334347/reduce-enumeration-references-namespaces/fn
             protocols.clj:  168  clojure.core.protocols/fn
             protocols.clj:  124  clojure.core.protocols/fn
             protocols.clj:   19  clojure.core.protocols/fn/G
             protocols.clj:   31  clojure.core.protocols/seq-reduce
             protocols.clj:   75  clojure.core.protocols/fn
             protocols.clj:   75  clojure.core.protocols/fn
             protocols.clj:   13  clojure.core.protocols/fn/G
                  core.clj: 6886  clojure.core/reduce
                  core.clj: 6868  clojure.core/reduce
                      REPL:   34  schema-cartographer.explorer/eval334347/reduce-enumeration-references-namespaces
              explorer.clj:   80  schema-cartographer.explorer/references-enumeration-namespaces-cardinality-many/fn
                 utils.clj:   16  schema-cartographer.utils/with-retry/fn
                 utils.clj:   16  schema-cartographer.utils/with-retry
                 utils.clj:    9  schema-cartographer.utils/with-retry
              explorer.clj:   78  schema-cartographer.explorer/references-enumeration-namespaces-cardinality-many
              explorer.clj:   76  schema-cartographer.explorer/references-enumeration-namespaces-cardinality-many
              explorer.clj:   89  schema-cartographer.explorer/references-namespaces-cardinality-many
              explorer.clj:   84  schema-cartographer.explorer/references-namespaces-cardinality-many
              explorer.clj:  108  schema-cartographer.explorer/format-attribute
              explorer.clj:   97  schema-cartographer.explorer/format-attribute
              explorer.clj:  118  schema-cartographer.explorer/assoc-ns-attrs
              explorer.clj:  117  schema-cartographer.explorer/assoc-ns-attrs
              explorer.clj:  129  schema-cartographer.explorer/process-entity
              explorer.clj:  126  schema-cartographer.explorer/process-entity
              explorer.clj:  173  schema-cartographer.explorer/format-raw-schema-query/fn
           ArrayChunk.java:   63  clojure.lang.ArrayChunk/reduce
             protocols.clj:  136  clojure.core.protocols/fn
             protocols.clj:  124  clojure.core.protocols/fn
             protocols.clj:   19  clojure.core.protocols/fn/G
             protocols.clj:   31  clojure.core.protocols/seq-reduce
             protocols.clj:   75  clojure.core.protocols/fn
             protocols.clj:   75  clojure.core.protocols/fn
             protocols.clj:   13  clojure.core.protocols/fn/G
                  core.clj: 6886  clojure.core/reduce
                  core.clj: 6868  clojure.core/reduce
              explorer.clj:  169  schema-cartographer.explorer/format-raw-schema-query
              explorer.clj:  165  schema-cartographer.explorer/format-raw-schema-query
              explorer.clj:  192  schema-cartographer.explorer/explore
              explorer.clj:  191  schema-cartographer.explorer/explore
                  core.clj:   21  schema-cartographer.core/save-explore-schema-edn
                  core.clj:   17  schema-cartographer.core/save-explore-schema-edn

Documentation attribute from schema is missing

This is a useful project as-is but it would be even better if the :db/doc attribute on schema entities were conveyed to the UI. Something makes me think the intent was/is there, but it's not working for me -all I see in the way of documentation is "Automatically generated by Explorer".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.