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

Improved performance #5

Closed
wants to merge 3 commits into from

Conversation

swapnils19
Copy link
Contributor

  • 'id' param will help improving the overall performance of application
    as the user will be able to fetch the required data directly by passing the
    'id' i.e. previously used to store the data.
  • new TCs written for modified methods

added keyword arguments for 'get' methods

added 'keyword arguments' & 'highredis' functionality

Swapnil added 3 commits June 17, 2016 17:18
- 'id' param will help improving the overall performance of application
as the user will be able to fetch the required data directly by passing the
'id' i.e. previously used to store the data.
- new TCs written for modified methods
Added `id` param to all Ariadne `get` methods
- 'id' param will help improving the overall performance of application
as the user will be able to fetch the required data directly by passing the
'id' i.e. previously used to store the data.
- new TCs written for modified methods

added keyword arguments for 'get' methods

added 'keyword arguments' & 'highredis' functionality
def self.get_app_name(app_name: nil)
app_name ||= ENV['APP_NAME']
app_name || ''
end
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the above two lines can be written like this

app_name ||= ( ENV['APP_NAME'] || '' )

@swapnils19 swapnils19 closed this Jun 24, 2016
@swapnils19 swapnils19 deleted the improved_performance branch June 24, 2016 10:39
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.

2 participants