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

Rework Get-SteamNews #77

Merged
merged 11 commits into from
Apr 19, 2024
Merged

Conversation

hjorslev
Copy link
Owner

@hjorslev hjorslev commented Mar 30, 2024

Description

Resolves #67

  • Remove OutputFormat parameter
  • Change to non terminating error
  • Use Invoke-RestMethod to call the API
  • Output content as PSCustomObject

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added Pester tests that covers the added cmdlets

@hjorslev hjorslev linked an issue Mar 30, 2024 that may be closed by this pull request
@hjorslev hjorslev self-assigned this Mar 30, 2024
@hjorslev hjorslev added Category-Module Pertaining to the module's functionality itself. Category-Tests ✅ Pertaining to tests for the module functions. Issue-Enhancement ✨ Make it better! labels Mar 30, 2024
@hjorslev hjorslev added Breaking 🌟 and removed Category-Tests ✅ Pertaining to tests for the module functions. labels Apr 2, 2024
@hjorslev hjorslev changed the title Refactor Get-SteamNews Rework Get-SteamNews Apr 14, 2024
@hjorslev hjorslev linked an issue Apr 16, 2024 that may be closed by this pull request
@hjorslev hjorslev merged commit 5b227e5 into master Apr 19, 2024
9 checks passed
@hjorslev hjorslev deleted the 67-get-steamnews-should-return-a-psobject branch April 19, 2024 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking 🌟 Category-Module Pertaining to the module's functionality itself. Issue-Enhancement ✨ Make it better!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get-SteamNews should return a PSObject Pester Tests for Web API cmdlets
1 participant