How nozzlegear/shopifysharp works
Main Components
a. Core Library Components:
• Services Layer (Primary API interaction)
• Infrastructure Layer
• Entity Models
• Filters
• Utilities
• WebhookPayloads
• Extensions
b. Integration Components:
• Dependency Injection Extensions
• Experimental Features (F# Implementation)
• Testing Infrastructure
┌─ Client Applications ─────────────────────────────────────┐
• ShopifySharp Public Interface ──────────────────────────┤
• ┌─ Service Layer ─────────┐ ┌─ Authentication ─────────┐ │
• Product Service │ │ - OAuth Utility │ │
• Order Service │ │ - Multipass Service │ │
• Customer Service │ │ - Access Scopes │ │
• ┘ └────────────────────────────┘│
• Core Infrastructure ───────────────────────────────────┤
• ┌─ Request Handling ──────┐ ┌─ Rate Limiting ─────────┐ │
• Execution Policies │ │ - Leaky Bucket │ │
• Retry Mechanisms │ │ - Request Queue │ │
• ┘ └────────────────────────────┘│
• Data Layer ────────────────────────────────────────────┤
• ┌─ Entity Models ─────────┐ ┌─ Serialization ─────────┐ │
• Shop Objects │ │ - JSON Handling │ │
• API Resources │ │ - GraphQL Parsing │ │
• ┘ └────────────────────────────┘│
• ┘
Key Relationships
• How the execution policies interact with request handling
• Relationship between services and their corresponding entities
• Demonstrate how the dependency injection extensions integrate with the core library
Implementation Details
• Notes for version compatibility
Additional Notes
• A small section showing the experimental F# components
• Integration points with dependency injection
• Webhook handling infrastructure
• Testing infrastructure's relationship to components