Giter Site home page Giter Site logo

Validate Item ID Uniqueness about winch HOT 2 OPEN

Hacktix avatar Hacktix commented on August 26, 2024
Validate Item ID Uniqueness

from winch.

Comments (2)

SloopyNoSleep avatar SloopyNoSleep commented on August 26, 2024

Aren't string ids sufficient here? We already have a decent equals and GetHashCode implementation by default. Dictionary is already using hashes under the hood and associating it with entries.

Edit: This is based off of the assumption that we already populate a Winch AllItems Dictionary

from winch.

bdlm-dev avatar bdlm-dev commented on August 26, 2024

Don't think we've got a local AllItems dictionary, so would need to implement that but wouldn't be difficult.
Would probably be then a case of having an explicit 'Replace' directory which tries to replace loaded assets for replacing base items.
EDIT: Though a specific replace directory would then be a number of duplicate directories, so might be better to consider adding a 'doReplace' attribute or equivalent within items to indicate replacing originals.

from winch.

Related Issues (8)

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.