Git Product home page Git Product logo

Comments (3)

drujensen avatar drujensen commented on July 17, 2024

@opiation This is an excellent point. Also, save should call validate and return an error or a boolean when it fails now that validation is integrated with granite.

from granite.

drujensen avatar drujensen commented on July 17, 2024

@opiation Is this something you would like to work on? if not, @amberframework/granite-orm-contributors anyone want to work on this?

from granite.

opiation avatar opiation commented on July 17, 2024

I believe having Granite::ORM::Base#save validate and return a boolean or error would indeed make Granite a little more ActiveRecord-like, though that seems already tracked separately in #81.

As for wanting to work on this, I'll review the contribution guide and my schedule. In that time however, I welcome anyone to take on the task as I may not have much time in the near future.

from granite.

Related Issues (20)

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.