Giter Site home page Giter Site logo

Kalecto.Model macro usage about calecto HOT 4 CLOSED

djm avatar djm commented on August 25, 2024
Kalecto.Model macro usage

from calecto.

Comments (4)

lau avatar lau commented on August 25, 2024

Hi Darian. I'm glad you find it useful.

You are right, it should work if you only use this line: use Kalecto.Model

As far as I remember I thought it would be less confusing with both lines. But I guess it isn't. And it's redundant. So the answer is that there is no good reason that the readme says that :) I'll fix it.

Thanks for the feedback. The documentation for Kalecto is lacking because the other packages (kalends and tzdata) have had a higher priority, but eventually it should improve.

from calecto.

djm avatar djm commented on August 25, 2024

Awesome, thanks for clearing that up.

from calecto.

lau avatar lau commented on August 25, 2024

@djm FYI for the newest version (0.3.1) I have gone back to having both lines (use Ecto.Model and use Kalecto.Model). The line that caused the compilation error was redundant as is no longer there.

I think it makes more sense this way with both lines

from calecto.

djm avatar djm commented on August 25, 2024

@lau cool, thanks for the headsup.

from calecto.

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.