Giter Club home page Giter Club logo

xml-hitch's People

Contributors

lampjunkie avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

xml-hitch's Issues

Hitch not working

$hitch = new HitchManager();

After this line hitch is not able to executed.

$hitch->setClassMetaDataFactory(new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()), new ArrayCache()));

In the above line annotation reader and arrayChache were not located in downloaded file.
Could any one help regarding this issue

Usage doctrine common

How use doctrine common lib in hitch library.
What files from doctrine common library have to place in hitch.
Please specify the path.

Parameter 1 and 2 twisted in AnnotationLoader while adding Embed()

HI there,

first of all. Thank you for this great software.
I use it in my current project and the idea really rocks (i didn't come up to use doctrine annotations to do the mapping).

I modified a lot and I hope i have time to clean it up and make a pull request.
But today I found a neat Bug, that you should be aware of - sorry that i don't have time to write a test an fork.

in AnnotationLoader:106 in the part of instanceof XmlElement you call addEmbed($nodeName, $property->getName())

so first nodeName (that from xml) and second property (that for domainmodel)

but in

ClassMetadata.php:152 addEmbed is
public function addEmbed($property, $nodeName, ClassMetadata $metadata)

so the other way round. So that node and property get assigned the wrong way.

Best regards
Philipp

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.