Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mst mentioned that this doc mention of "result_class" is incorrect (and conflicts with the one in ResultSet.pm) #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

castaway
Copy link
Contributor

@castaway castaway commented Apr 3, 2013

No description provided.

@dbsrgits-sync
Copy link

On Wed, Apr 03, 2013 at 09:45:10AM -0700, castaway wrote:

  • Corrent hashrefinflator's docs re result_class use

In isolation the patch is correct, however if you look at the big picture:

  • The mention of the classdata fiddling must go - there is no valid use
    case for it and there haven't been for years
  • Instead of attempting to (poorly) explain the difference between a
    result_class accessor and a result_class attribute, perhaps the doc
    should simply link to the correct explanation ... which however does not
    exist anywhere. The current behavior is codified here [1] between lines
    20 and 55.

CAN HAZ MOAR DOC PLZ? ;)

[1] https://metacpan.org/source/ABRAXXA/DBIx-Class-0.08209/t/inflate/hri.t#L20

preaction added a commit to preaction/dbix-class that referenced this pull request Nov 19, 2016
This expands on Perl5#21 to add similar documentation to the ResultSet class
itself, explaining how the accessor method differs in behavior from the
attributes passed in to the search() method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants