Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

Support BUILDARGS #19

Open
schwern opened this issue Apr 3, 2014 · 1 comment
Open

Support BUILDARGS #19

schwern opened this issue Apr 3, 2014 · 1 comment

Comments

@schwern
Copy link
Contributor

schwern commented Apr 3, 2014

Have new make use of BUILDARGS if available to manipulate its arguments.

There should be no check for the existence of BUILDARGS at runtime, the determination should be hard coded at mite compile time.

From Moose::Manual::Construction.

BUILDARGS
The "BUILDARGS" method is called as a class method before an object is
created. It will receive all of the arguments that were passed to
"new()" as-is, and is expected to return a hash reference. This hash
reference will be used to construct the object, so it should contain
keys matching your attributes' names (well, "init_arg"s).

@tobyink
Copy link

tobyink commented Jul 2, 2022

I've moved the Mite issue tracker here.

This is now implemented.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants