Giter VIP home page Giter VIP logo

hyral's People

Contributors

barthje avatar dependabot[bot] avatar jurcello avatar mnugter avatar sjerdo avatar syneticdevops avatar thomasdik1989 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hyral's Issues

Add posibility for a rollback if a step in the ChangeSet execute fails

  1. You should be able to get failed tasks from a ChangeSet.
  2. Rollback must execute the opposite tasks of the original tasks.
  3. Rollback must not trigger automatically but via a separate call
  4. The documentation should expand on this feature and clearly note the risks involved:
  • The rollback might fail as well, potentially causing more problems.
  • Rollback is not guaranteed as it's not a database transaction but a remote (server) call

Vuex triggers error on getting a resource

ERROR [Vue warn]: Error in render: "TypeError: Cannot read property 'data' of undefined" 09:31:12

Seems to be related to the change on how resources are returned from the state now.

Add possibility to catch collection load errors.

At the moment a problem in loading a collection cannot be catched because it is catched in the load function of the collection.

It would be nice if this throws another exception (like loading error) so the calling code can react to problems. In the vuex implementation this exception could be catched and handled.

Immutability issue with relationships

Immutability issue while applying relationships to data.
Data should be replaced instead of appending to.

resource.data[field] = relationshipGetResource(resource.data[field], includedRelations);

Add possibility to force reload of a collection.

Now it seems impossible to force a reload of the collection. If the state is loaded there is no simple method to reload the data from the server.
I would suggest to add a parameter to the collection load function:

collection.load(refresh=false)

collection.isLoading seems to returns false during load

Hi!

I've made a LoadingIndicator component which should display if the current collection is loading. I'm using collection.isLoading in an v-if to check if the loading indicator should show or not:
image

It looks like isLoading is returning false while it shouldn't when used inside a Vue <template>, but I could be mistaken.

Tom

Make API consistent for creating instances

Repositories are now created via the repository manager. This should change to Repository.create and should use a default enabled decorator for the manager.

Same goes for HttpConnector, it should have a decorateable create factory method.

Add JSON schema support for validation and relationships decoration

  1. Define a superset for JSON schema which adds cardinality support in #ref tags.
  2. Create a factory method to create the relationship decorator from a JSON schema
  3. Add Resource decorator for validating data when setting the data property.

Create this as a separate package. The package should introduce a helper method that accepts a JSON schema and initializes the relationship and validator decorators on the Resource.

Lazy-loading not enabled by default?

Should the lazy-loading decorator be enabled by default? It forces you to do more configuration than you might otherwise need. This should only be required when you know you are going to use this behavior.

Lazy-load decorator throws uncatchable exceptions

The exceptions in the lazy-loader cannot be caught in the application and should therefore not be thrown at that stage.

Refactor into something that makes sense and is either catchable or change the implementation to something informative but not intrusive.

Expand on Vue documentation

The current documentation leaves some things unclear (on how to register the Mixin / Store module). Expand the documentation to include a clear description on how to fully implement on this.

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.