Skip to content

Latest commit

 

History

History
51 lines (49 loc) · 2.08 KB

roadmap.md

File metadata and controls

51 lines (49 loc) · 2.08 KB

Roadmap

  • Function definition parser
    • extract main function export
    • convert main function signature to json schema
    • add support for common jsdoc comments
    • fix should be readonly to source files
    • fix async / promise return types
    • fix support for arrow function exports
    • add support for default values
    • add support for void return type
    • add support for Buffer type
    • add support for Date type
    • add support for returning Buffer and Date types
    • add CLI wrapper to generate function definitions
    • add support for standard JS with jsdoc comments
    • add support for custom tsconfig
  • HTTP handler to invoke a function given an FTS definition and JS file entrypoint
    • add support for HTTP GET
    • add support for other HTTP methods
    • validate function parameters against json schema
    • validate function return type against json schema
    • add support for passing params as array
    • add support for async function
    • add support for http context (ip, headers, etc)
    • add support for setting response headers
    • add support for CORS
    • remove support for index-based invocations
  • HTTP server implementation
  • Documentation
    • basic usage example
    • example functions (test suite)
    • how to use with different serverless cloud providers
  • Testing
    • basic unit tests for function definition parser
    • basic unit tests for function http handler
    • integration tests for TS function => definition => HTTP server
  • Publish separate packages
    • fts
    • fts-validator
    • fts-core
    • fts-http
    • fts-http-client
    • fts-dev
    • now-fts
  • Post-MVP
    • support multiple source languages
    • support multiple transport handlers (http, grpc, thrift)
    • now-builder for FTS functions

Support my OSS work by following me on twitter twitter