Skip to content

Conversation

@programVeins
Copy link
Contributor

Features

  • Add generated types from Typesense api spec using Swagger
  • Add API structs for Configuration and Client
  • Add Apicall API wrapper
  • Implement Apicall API with Request Types

@programVeins programVeins self-assigned this Aug 24, 2021
Copy link
Member

@kishorenc kishorenc left a comment

Choose a reason for hiding this comment

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

performRequest also needs to implement logic around checking for response status codes. If you find the JS async style confusing to follow as reference, you can also refer to the Python code here: https://github.com/typesense/typesense-python/blob/master/typesense/api_call.py#L86

@programVeins
Copy link
Contributor Author

programVeins commented Oct 25, 2021

Resolves #2

Code is now refactored with Async/Await thus eliminating the need for an asynchronous callback for numRetries, it simply works inside a for loop.

@programVeins programVeins force-pushed the initialize-swift-client branch from 976ab08 to bef4fd8 Compare December 1, 2021 09:32
@programVeins programVeins changed the title Add Apicall Initialise Swift Client Dec 16, 2021
@programVeins
Copy link
Contributor Author

Features

  • Authentication of the client 🔐
  • Collections endpoint - CRUD features
  • Documents endpoint - CRUD features
  • Document Search with Parameters 🔎
  • Batch import documents from a .jsonl file

@programVeins programVeins merged commit 5805d86 into master Dec 16, 2021
@programVeins programVeins deleted the initialize-swift-client branch December 17, 2021 03:25
jasonbosco pushed a commit that referenced this pull request Aug 2, 2024
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.

4 participants