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

refactor: sport module migrate (#684) #717

Merged

Conversation

00thirdeye00
Copy link
Contributor

sport module migration from class to functions within sport namespace

sport module migration from class to functions within sport namespace

Signed-off-by: Guru Mehar Rachaputi <[email protected]>
@00thirdeye00
Copy link
Contributor Author

@cieslarmichal Please check out the discord general channel for this merge :)

include/faker-cxx/Sport.h Outdated Show resolved Hide resolved
Changed sport() function to sportName()
Changed sport() to sportName()
Changed "Sport" namespace to lowercase "sport"
Change sport() to sportName() and "Sport" to lowercase "sport" in sport namespace
Copy link
Owner

@cieslarmichal cieslarmichal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two things:

  1. Add namespace to data file as well
  2. Write a line in CHANGELOG.md that sport function was renamed to sportName please

	1. sport module migration from class to functions within sport namespace

	2. changed function name from sport() to sportName()

	3. changelog updated

Signed-off-by: Guru Mehar Rachaputi <[email protected]>
@cieslarmichal cieslarmichal merged commit 4fd336c into cieslarmichal:main Jun 24, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate Sport module from class to functions within sport namespace
2 participants