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

Should search include namespaces in addition to methods? #8

Closed
akabiru opened this issue Aug 22, 2018 · 6 comments
Closed

Should search include namespaces in addition to methods? #8

akabiru opened this issue Aug 22, 2018 · 6 comments

Comments

@akabiru
Copy link
Owner

akabiru commented Aug 22, 2018

Description

At the moment executing fakerbot search star does not include results like Faker::StarWars i.e. "everything matching star".
This is because the fakerbot reflector only searches through the class method names and doesn't include the class names.

Task

Find a sensible way of implementing a "full" search i.e. one that includes the class and it's method names.

@akabiru akabiru changed the title Search should include namespaces in addition to methods Should search include namespaces in addition to methods? Aug 22, 2018
@Jdcorley
Copy link

Jdcorley commented Jan 2, 2019

Is this still available? Could I take this as a first time Open Source contribution?

Thanks!
Jack

@akabiru
Copy link
Owner Author

akabiru commented Jan 2, 2019

Hey @Jdcorley ,

Thanks for checking this out!

Go for it! and please shout if you have any questions.
🙂

@Jdcorley
Copy link

Jdcorley commented Mar 12, 2019

Hey @akabiru!

So I've been poking around a bit with this and playing with ideas on how we could integrate the namespaces into the search. I've been able to pull up the namespaces in faker by calling:

Faker.constants

I'm just trying to read through the code a bit more and figure out a way to integrate them that makes sense. Let me know if you have any tips are suggestions.

Thanks!

@akabiru
Copy link
Owner Author

akabiru commented Mar 12, 2019

Hey @Jdcorley ,

Great to hear from you- and thanks for looking into this. FYI, fakerbot has been merged into faker

Are you Ok for us to move the conversation to faker?- there's an issue tracking this, and I think you're best placed to tackle it. 🙂 faker-ruby/faker#1566

@Jdcorley
Copy link

@akabiru awesome! yeah, let's move the conversation there.

@akabiru
Copy link
Owner Author

akabiru commented Mar 12, 2019

Done! 🎉

@akabiru akabiru closed this as completed Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants