Giter Site home page Giter Site logo

Comments (7)

tsteckenborn avatar tsteckenborn commented on July 17, 2024 1

With TypeScript support not being officially there yet, I guess that‘s nothing for the SAP-samples. Also SAP might go in a different direction compared to cds-routing-handlers, see the cap-samples repository. In there you might find a quick look at something called cds-ts, which is not yet released to us, the public.

Let‘s see what this months release will bring to us 😉

from cap-sflight.

tsteckenborn avatar tsteckenborn commented on July 17, 2024 1

That‘s right. To my knowledge, no. As I said it‘s not even released to public yet. Therefor I guess that the request to include a TypeScript sample with cds-routing-handlers will not be fulfilled.

Edit: Let‘s see what the repo maintainers say. Maybe they are going to do it. Would be great to see more TypeScript exposure.

from cap-sflight.

hakimio avatar hakimio commented on July 17, 2024

@tsteckenborn can you link the repository?

from cap-sflight.

tsteckenborn avatar tsteckenborn commented on July 17, 2024

@hakimio: You might start here SAP-samples/cloud-cap-samples#245.

Yet that's still in the very early stages. Using TypeScript I sometimes also encountered Types with Typos or deviating from the documentation (fields marked as mandatory which aren't).

Anyways there's been quite some improvement over time.So they seem to be on it, yet it's difficult to evaluate how far it is.

from cap-sflight.

hakimio avatar hakimio commented on July 17, 2024

Any documentation or other examples for cds-ts? The linked PR looks like it only contains "hello world" code.

from cap-sflight.

hakimio avatar hakimio commented on July 17, 2024

News about cds-ts:
https://www.youtube.com/watch?v=P5TVj6YDC1c&t=53s
https://cap.cloud.sap/docs/get-started/using-typescript#cds-ts

Anyway, it's not a replacement for cds-routing-handlers or cds2types. It's just node-ts intergration.

from cap-sflight.

iwonahahn avatar iwonahahn commented on July 17, 2024

The issue seems to be resolved and we are about to close this issue channel here in favor of the SAP Community.
In case you still need support, use our community to get help.

from cap-sflight.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.