Giter VIP home page Giter VIP logo

Comments (8)

leekelleher avatar leekelleher commented on July 28, 2024

@mattbrailsford - any ideas on what to call the ignore attribute?

Maybe DittoIgnore or UmbracoPropertyIgnore?

from umbraco-ditto.

mattbrailsford avatar mattbrailsford commented on July 28, 2024

Going off things like the Json serializer which has JsonIgnore, I'd probably say DittoIgnore

from umbraco-ditto.

leekelleher avatar leekelleher commented on July 28, 2024

That was my initial thought too 👍 then that got me thinking is UmbracoPropertyAttribute well named? DittoProperty? hmmm... just opened a can-o-worms ;-)

from umbraco-ditto.

mattbrailsford avatar mattbrailsford commented on July 28, 2024

I think it's ok. DittoProperty wouldn't be very descriptive. DittoUmbracoProperty is a bit too long (though we could add it aswell if we thought someone else might use UmbracoProperty to make things explicit)?

from umbraco-ditto.

mattbrailsford avatar mattbrailsford commented on July 28, 2024

Unless you did DittoMapFrom or DittoExplicityMap or something?

from umbraco-ditto.

leekelleher avatar leekelleher commented on July 28, 2024

Yeah, I'm totally happy with UmbracoPropertyAttribute (at this time). Devs can fully namespace any conflicts.

Let's go with DittoIgnore too... to be honest I think excluding/ignoring will be edge-case. As in so far it's only today that I've had a need for it.

from umbraco-ditto.

mattbrailsford avatar mattbrailsford commented on July 28, 2024

Agree

from umbraco-ditto.

leekelleher avatar leekelleher commented on July 28, 2024

Ace! :squirrel: I'll get on it tomorrow

from umbraco-ditto.

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.